Update testenvs with minimal app config

Worked out by Beth Probert
This commit is contained in:
jaknapper 2026-05-12 19:13:35 +01:00
parent ab25705edc
commit 5962c80fdc
4 changed files with 15 additions and 4 deletions

View file

@ -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