Fix config path in integration test. Don't use fallback in integration test as it masks failure.
This commit is contained in:
parent
fc7cda0165
commit
4a8b88b34b
1 changed files with 1 additions and 2 deletions
|
|
@ -19,11 +19,10 @@ import labthings_fastapi as lt
|
||||||
|
|
||||||
THIS_DIR: str = os.path.dirname(os.path.realpath(__file__))
|
THIS_DIR: str = os.path.dirname(os.path.realpath(__file__))
|
||||||
WORKING_DIR: str = os.path.join(THIS_DIR, "working_dir")
|
WORKING_DIR: str = os.path.join(THIS_DIR, "working_dir")
|
||||||
REPO_DIR: str = os.path.dirname(THIS_DIR)
|
REPO_DIR: str = os.path.dirname(os.path.dirname(THIS_DIR))
|
||||||
CONFIG_FILE: str = os.path.join(REPO_DIR, "ofm_config_simulation.json")
|
CONFIG_FILE: str = os.path.join(REPO_DIR, "ofm_config_simulation.json")
|
||||||
SERVER_CMD: list[str] = [
|
SERVER_CMD: list[str] = [
|
||||||
"openflexure-microscope-server",
|
"openflexure-microscope-server",
|
||||||
"--fallback",
|
|
||||||
"-c",
|
"-c",
|
||||||
CONFIG_FILE,
|
CONFIG_FILE,
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue