Skip to content

Commit

Permalink
tests: isolate global config from analytics tests
Browse files Browse the repository at this point in the history
fix #2806
  • Loading branch information
Mr. Outis committed Dec 5, 2019
1 parent 7a3aae1 commit 05a6868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 05a6868

Please sign in to comment.