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 59bf1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/api/test_p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@ async def test_post_message_sync(ccn_api_client, mocker):
assert pub_status["status"] == "success"
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 59bf1b4

Please sign in to comment.