(mocker, cancel_remaining_task)
| 47 | |
| 48 | |
| 49 | def 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 | |
| 57 | custom_log_dict = { |
nothing calls this directly
no test coverage detected
searching dependent graphs…