test(lamni): FakeDev supports "in" checks for fttrz/dttrz in leye_out test
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 3m0s

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:
x12sa
2026-10-14 12:28:34 +02:00
committed by holler
co-authored by Claude Opus 5.5
parent 7795f3223f
commit 0051130b74
@@ -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)