mirror of https://github.com/rq/rq.git
Don't use the (internal) .enqueue_call() in unit tests.
This commit is contained in:
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…
Reference in New Issue