Update testenvs with minimal app config
Worked out by Beth Probert
This commit is contained in:
parent
ab25705edc
commit
5962c80fdc
4 changed files with 15 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
"""Test the functionality specific to the simulated camera."""
|
||||
|
||||
import logging
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
import numpy as np
|
||||
|
|
@ -27,7 +28,10 @@ def test_env() -> LabThingsTestEnv:
|
|||
"stage": DummyStage,
|
||||
"bg_channel_deviations_luv": ChannelDeviationLUV,
|
||||
}
|
||||
with LabThingsTestEnv(things=thing_conf) as env:
|
||||
|
||||
app_config = {"data_folder": tempfile.gettempdir()}
|
||||
|
||||
with LabThingsTestEnv(things=thing_conf, application_config=app_config) as env:
|
||||
yield env
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue