MCPcopy Create free account
hub / github.com/python-arq/arq / test_run_watch

Function test_run_watch

tests/test_cli.py:49–54  ·  view source on GitHub ↗
(mocker, cancel_remaining_task)

Source from the content-addressed store, hash-verified

47
48
49def test_run_watch(mocker, cancel_remaining_task):
50 mocker.patch('watchfiles.awatch', return_value=mock_awatch())
51 runner = CliRunner()
52 result = runner.invoke(cli, ['tests.test_cli.WorkerSettings', '--watch', 'tests'])
53 assert result.exit_code == 0
54 assert '1 files changes, reloading arq worker...'
55
56
57custom_log_dict = {

Callers

nothing calls this directly

Calls 1

mock_awatchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…