(cancel_remaining_task, mocker, loop)
| 28 | |
| 29 | |
| 30 | def test_run(cancel_remaining_task, mocker, loop): |
| 31 | mocker.patch('asyncio.get_event_loop', lambda: loop) |
| 32 | runner = CliRunner() |
| 33 | result = runner.invoke(cli, ['tests.test_cli.WorkerSettings']) |
| 34 | assert result.exit_code == 0 |
| 35 | assert 'Starting worker for 1 functions: foobar' in result.output |
| 36 | |
| 37 | |
| 38 | def test_check(loop): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…