Remove mock call to replace with real call

This commit is contained in:
Beth Probert 2026-04-02 15:09:39 +01:00
parent 01954167ab
commit 54b656952f

View file

@ -117,8 +117,7 @@ def test_debug_mode(mocker):
"openflexure_microscope_server.server.lt.ThingServer.from_config",
return_value=mocker.Mock(),
)
# Mock customisation to avoid side effects
mocker.patch.object(ofm_server, "customise_server")
# Mock uvicorn.run to avoid starting a server
mocker.patch("openflexure_microscope_server.server.uvicorn.run")