mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 11:08:12 +08:00
#50 removes redis connection argument from pusher process
This commit is contained in:
@@ -34,7 +34,7 @@ def test_scheduler(r):
|
||||
stop_event = Event()
|
||||
stop_event.set()
|
||||
# push it
|
||||
pusher(task_queue, stop_event, list_key=list_key, r=r)
|
||||
pusher(task_queue, stop_event, list_key=list_key)
|
||||
assert task_queue.qsize() == 1
|
||||
assert queue_size(list_key=list_key, r=r) == 0
|
||||
task_queue.put('STOP')
|
||||
|
||||
Reference in New Issue
Block a user