Open
Description
something is broken when a signal callback connected to a proxy event itself calls proxy methods:
def test_cb(proxy: CMMCorePlus) -> None:
mock = Mock()
@proxy.events.imageSnapped.connect
def callback() -> None:
proxy.getLoadedDevices() # test fails unless you comment out this line
mock()
proxy.snapImage()
mock.assert_called_once()
Metadata
Metadata
Assignees
Labels
No labels