Skip to content

Commit f376bbd

Browse files
committed
add workers arg to CLI
fix test try again
1 parent f4b9ea7 commit f376bbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_cli.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ def test_run_watch(mocker, cancel_remaining_task):
5454
assert 'files changed, reloading arq worker...' in result.output
5555

5656

57-
def test_multiple_workers(cancel_remaining_task, mocker, loop):
58-
mocker.patch('asyncio.get_event_loop', lambda: loop)
57+
def test_multiple_workers():
5958
runner = CliRunner()
6059
result = runner.invoke(cli, ['tests.test_cli.WorkerSettings', '--workers', '4'])
6160
assert 'clients_connected=4' in result.output

0 commit comments

Comments
 (0)