Skip to content

Commit

Permalink
Fix: test_post_message_sync
Browse files Browse the repository at this point in the history
assert_awaited_once
  • Loading branch information
1yam authored and Psycojoker committed Oct 15, 2024
1 parent 7187ecc commit 9f92b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/test_p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ async def test_post_message_sync(ccn_api_client, mocker):
assert pub_status["failed"] == []

# Check that we cleaned up the queue
mocked_queue.delete.assert_called_once()
mocked_queue.return_value.delete.assert_awaited_once()

0 comments on commit 9f92b35

Please sign in to comment.