Skip to content

Commit

Permalink
Use multiple queue names
Browse files Browse the repository at this point in the history
  • Loading branch information
selwin committed Oct 29, 2024
1 parent 7b1138b commit 00dbe23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 00dbe23

Please sign in to comment.