diff --git a/tests/api/test_p2p.py b/tests/api/test_p2p.py index ee352319d..5016162e5 100644 --- a/tests/api/test_p2p.py +++ b/tests/api/test_p2p.py @@ -97,4 +97,4 @@ async def test_post_message_sync(ccn_api_client, mocker): assert pub_status["failed"] == [] # Check that we cleaned up the queue - assert mocked_queue.delete.called_once + assert mocked_queue.delete.assert_called_once()