Remove mock for loading tuning file during test as it no longer needs to talk to hardware.
This commit is contained in:
parent
e89ad93535
commit
9c20c18230
1 changed files with 1 additions and 4 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue