Remove mock for loading tuning file during test as it no longer needs to talk to hardware.

This commit is contained in:
Julian Stirling 2025-09-18 12:22:56 +01:00
parent e89ad93535
commit 9c20c18230

View file

@ -27,10 +27,7 @@ def mock_picam_thing(mocker):
"picamera2.outputs": mocker.Mock(), "picamera2.outputs": mocker.Mock(),
}, },
) )
mocker.patch(
"openflexure_microscope_server.things.camera.picamera.recalibrate_utils.load_default_tuning",
return_value={"mock": "tuning"},
)
from openflexure_microscope_server.things.camera.picamera import StreamingPiCamera2 from openflexure_microscope_server.things.camera.picamera import StreamingPiCamera2
return StreamingPiCamera2() return StreamingPiCamera2()