Skip to content

Commit 5dd6300

Browse files
author
Mr. Outis
committed
💅 black
1 parent 6e4c3d6 commit 5dd6300

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/func/test_analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_daemon_analytics(mock_send, tmp_path):
1414

1515
@mock.patch("dvc.analytics.collect_and_send_report")
1616
@mock.patch("dvc.analytics.is_enabled", return_value=True)
17-
def test_main_analytics(mock_is_enabled, mock_report, dvc_repo):
17+
def test_main_analytics(mock_is_enabled, mock_report, dvc_repo):
1818
assert 0 == main(["add", "foo"])
1919
assert mock_is_enabled.called
2020
assert mock_report.called

tests/unit/test_analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_collect_and_send_report(mock_json, mock_daemon, tmp_global_config):
3636
with pytest.raises(KeyError):
3737
report["cmd_return_code"]
3838

39-
args = parse_args(['add', 'foo'])
39+
args = parse_args(["add", "foo"])
4040
return_code = 0
4141

4242
analytics.collect_and_send_report(args, return_code)

0 commit comments

Comments
 (0)