From 6d8b7642b005102283a00d9716b8b17f16d21fc3 Mon Sep 17 00:00:00 2001 From: Louis King Date: Tue, 21 Apr 2026 19:45:44 +0100 Subject: [PATCH] Fix test_collector_with_data_home_override by unsetting SEED_HOME env var --- tests/test_collector/test_cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_collector/test_cli.py b/tests/test_collector/test_cli.py index 4a0bd8a..df52271 100644 --- a/tests/test_collector/test_cli.py +++ b/tests/test_collector/test_cli.py @@ -52,7 +52,10 @@ class TestCollectorGroup: patch("meshcore_hub.collector.cli._run_collector_service"), ): result = runner.invoke( - collector, ["--data-home", "/custom/data"], catch_exceptions=False + collector, + ["--data-home", "/custom/data"], + catch_exceptions=False, + env={"SEED_HOME": None}, ) assert result.exit_code == 0