Don't use the (internal) .enqueue_call() in unit tests.

main
Vincent Driessen 13 years ago
parent f6374f2dfa
commit d66939ff4a

@ -157,8 +157,8 @@ class TestWorker(RQTestCase):
w = Worker([q])
# Put it on the queue with a timeout value
res = q.enqueue_call(
func=create_file_after_timeout,
res = q.enqueue(
create_file_after_timeout,
args=(sentinel_file, 4),
timeout=1)

Loading…
Cancel
Save