Skip to content

Commit

Permalink
Merge pull request #3066 from pared/2896_analytics
Browse files Browse the repository at this point in the history
analytics: tests: migrate to dir helpers
  • Loading branch information
efiop authored Jan 6, 2020
2 parents 46379c8 + bb72ce8 commit ec574a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ec574a0

Please sign in to comment.