test(lamni): FakeDev supports "in" checks for fttrz/dttrz in leye_out test
leye_out() checks "fttrz"/"dttrz" in dev since 5d838f9; the fake device container in test_leye_out_closes_the_fast_shutter didn't support that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJWYXx4SS8NgFWog81xjyf
This commit was merged in pull request #331.
This commit is contained in:
@@ -183,6 +183,11 @@ def test_leye_out_closes_the_fast_shutter(monkeypatch):
|
||||
fsh = FakeShutter()
|
||||
leyey = object()
|
||||
lsamrot = object()
|
||||
fttrz = object()
|
||||
dttrz = object()
|
||||
|
||||
def __contains__(self, name):
|
||||
return hasattr(self, name)
|
||||
|
||||
monkeypatch.setattr(optics_mixin_module, "dev", FakeDev(), raising=False)
|
||||
monkeypatch.setattr(optics_mixin_module, "umv", lambda *a: None, raising=False)
|
||||
|
||||
Reference in New Issue
Block a user