mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
10 lines
206 B
Python
10 lines
206 B
Python
import mock
|
|
|
|
from dvc.main import main
|
|
|
|
|
|
@mock.patch("dvc.analytics.send")
|
|
def test_daemon_analytics(mock_send, tmp_path):
|
|
assert 0 == main(["daemon", "analytics", None, 0])
|
|
assert mock_send.called
|