Skip to content

Commit

Permalink
Fixed called_once_with -> assert_called_once_with
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Nov 6, 2023
1 parent d7f80b5 commit 083eeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/unit/tasks/test_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def test_del(self):
result = self.app.AsyncResult(self.task1['id'])
result_clone = copy.copy(result)
del result
assert backend.remove_pending_result.called_once_with(
backend.remove_pending_result.assert_called_once_with(
result_clone
)

Expand Down

0 comments on commit 083eeee

Please sign in to comment.