Remove mock call to replace with real call
This commit is contained in:
parent
01954167ab
commit
54b656952f
1 changed files with 1 additions and 2 deletions
|
|
@ -117,8 +117,7 @@ def test_debug_mode(mocker):
|
||||||
"openflexure_microscope_server.server.lt.ThingServer.from_config",
|
"openflexure_microscope_server.server.lt.ThingServer.from_config",
|
||||||
return_value=mocker.Mock(),
|
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
|
# Mock uvicorn.run to avoid starting a server
|
||||||
mocker.patch("openflexure_microscope_server.server.uvicorn.run")
|
mocker.patch("openflexure_microscope_server.server.uvicorn.run")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue