#50 removes redis connection argument from pusher process

This commit is contained in:
Ilan Steemers
2015-08-24 10:08:43 +02:00
parent b414b637eb
commit 3e92fddcdd
3 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -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')