tests: isolate global config from analytics tests

fix #2806
This commit is contained in:
Mr. Outis
2019-12-04 19:44:12 -06:00
parent 7a3aae1c7e
commit 05a68684fd
+1 -1
View File
@@ -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()