From 05a68684fd1780893338b78c25033925a319dc21 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Wed, 4 Dec 2019 19:44:12 -0600 Subject: [PATCH] tests: isolate global config from analytics tests fix #2806 --- tests/unit/test_analytics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_analytics.py b/tests/unit/test_analytics.py index 4a2388c95..b74989381 100644 --- a/tests/unit/test_analytics.py +++ b/tests/unit/test_analytics.py @@ -56,7 +56,7 @@ def test_send(mock_post, tmp_path): ({"analytics": "false", "unknown": "broken"}, False), ], ) -def test_is_enabled(dvc_repo, config, result, monkeypatch): +def test_is_enabled(dvc_repo, config, result, monkeypatch, tmp_global_config): configobj = dvc_repo.config._repo_config configobj["core"] = config configobj.write()