Create and mount application level data direcory rather than just a scan directory
This commit is contained in:
parent
2c2a52cb97
commit
45903f92a6
12 changed files with 187 additions and 166 deletions
|
|
@ -15,7 +15,8 @@ from .test_server_config import SIM_CONFIG
|
|||
|
||||
def test_no_config():
|
||||
"""Check that an error is thrown if no configuration is set for the microspe via CLI."""
|
||||
with pytest.raises(RuntimeError, match="No configuration"):
|
||||
msg = "OpenFlexure Microscope Server must have a configuration file specified."
|
||||
with pytest.raises(RuntimeError, match=msg):
|
||||
ofm_server.serve_from_cli([])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue