Merge pull request #3066 from pared/2896_analytics

analytics: tests: migrate to dir helpers
This commit is contained in:
Ruslan Kuprieiev
2020-01-06 19:42:11 +02:00
committed by GitHub
+2 -2
View File
@@ -83,8 +83,8 @@ def test_send(mock_post, tmp_path):
({"analytics": "false", "unknown": "broken"}, False),
],
)
def test_is_enabled(dvc_repo, config, result, monkeypatch, tmp_global_config):
configobj = dvc_repo.config._repo_config
def test_is_enabled(dvc, config, result, monkeypatch, tmp_global_config):
configobj = dvc.config._repo_config
configobj["core"] = config
configobj.write()