mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-05 07:18:30 +01:00
💅 black
This commit is contained in:
@@ -14,7 +14,7 @@ def test_daemon_analytics(mock_send, tmp_path):
|
||||
|
||||
@mock.patch("dvc.analytics.collect_and_send_report")
|
||||
@mock.patch("dvc.analytics.is_enabled", return_value=True)
|
||||
def test_main_analytics(mock_is_enabled, mock_report, dvc_repo):
|
||||
def test_main_analytics(mock_is_enabled, mock_report, dvc_repo):
|
||||
assert 0 == main(["add", "foo"])
|
||||
assert mock_is_enabled.called
|
||||
assert mock_report.called
|
||||
|
||||
Reference in New Issue
Block a user