Skip to content

Commit

Permalink
fix queue tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blattm committed Aug 16, 2022
1 parent 4639508 commit e9dff1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testMongoQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_context_manager_error(self):
pass

job = self.queue.next()
self.assertEqual(job.attempts, 1)
self.assertEqual(job.attempts_left, self.queue.max_attempts-1)

def test_context_manager_complete(self):
self.queue.put({"foobar": 1})
Expand Down

0 comments on commit e9dff1e

Please sign in to comment.