From bb72ce8a5097933ea74218e59109b0a18281669d Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 6 Jan 2020 15:49:26 +0100 Subject: [PATCH] analytics: tests: migrate to dir helpers --- tests/unit/test_analytics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_analytics.py b/tests/unit/test_analytics.py index 59cd196289..3179aeff0f 100644 --- a/tests/unit/test_analytics.py +++ b/tests/unit/test_analytics.py @@ -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()