Tweak error reporting in _run_scan and add a lot more testing for _run_scan

This commit is contained in:
Julian Stirling 2025-08-04 00:57:18 +01:00
parent d7a7ac4c7d
commit 82691a6b78
3 changed files with 162 additions and 21 deletions

View file

@ -23,6 +23,7 @@ class MockCameraThing(Mock):
"""
def __init__(self, *args, **kwargs):
"""Initialise the mock camera, args and kwargs are the mock args and kwargs."""
super().__init__(*args, **kwargs)
self.background_detector_status = PropertyMock(