diff --git a/tests/test_callbacks.py b/tests/test_callbacks.py index c3ba833..f30f8d8 100644 --- a/tests/test_callbacks.py +++ b/tests/test_callbacks.py @@ -81,7 +81,7 @@ def test_erroneous_success_callback(self): def test_failure_callback(self): """Test failure callback is executed only when job a fails""" queue = Queue(connection=self.testconn) - worker = Worker([queue], connection=self.testconn) + worker = Worker(['default', 'high'], connection=self.testconn) job = queue.enqueue(div_by_zero, on_failure=save_exception)