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 @@
"""Tests that captures have the expected metadata."""
import json
import tempfile
from datetime import datetime
from pathlib import Path
@ -99,7 +100,8 @@ 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