From d60d6bb1be165b8037e7d2be0f7312f58359e94d Mon Sep 17 00:00:00 2001 From: "thomas.kopp" Date: Wed, 1 Apr 2026 13:49:21 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20test=5Fconfig=5Floads=5Fdefaults=20?= =?UTF-8?q?=E2=80=94=20remove=20reload()=20that=20undid=20CONFIG=5FPATH=20?= =?UTF-8?q?patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index 726f542..2b510d6 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -6,9 +6,8 @@ from unittest.mock import patch def test_config_loads_defaults(): with tempfile.TemporaryDirectory() as tmpdir: cfg_path = os.path.join(tmpdir, "config.toml") + import config with patch("config.CONFIG_PATH", cfg_path): - import importlib, config - importlib.reload(config) cfg = config.load() assert cfg["ollama"]["model"] == "gemma3:12b" assert cfg["whisper"]["model"] == "large-v3"