mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-07 09:23:07 +02:00
Merge pull request #169 from ipnet-mesh/fix/test-fixes
Fix test_collector_with_data_home_override by unsetting SEED_HOME env var
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user