Skip to content

Commit

Permalink
tests: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Sep 9, 2024
1 parent 81886d0 commit 3e20bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/middleware/test_retries.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def do_work():
# And the exhausted handler should have been called.
assert len(called_at) == 1


def test_on_retry_exhausted_is_not_sent_for_success(stub_broker, stub_worker):
attempted_at = []
called_at = []
Expand All @@ -405,6 +406,7 @@ def do_work():
# And the exhausted callback should have never been called
assert len(called_at) == 0


def test_on_retry_exhausted_is_not_sent_for_eventual_success(stub_broker, stub_worker):
attempted_at = []
called_at = []
Expand Down

0 comments on commit 3e20bdd

Please sign in to comment.