From bf319568902ac2121809f132ab299264c6d146b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Fern=C3=A1ndez?= <7888669+moisses89@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:38:08 +0200 Subject: [PATCH] Fix events queue tests (#1694) --- safe_transaction_service/events/tests/test_queue_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/safe_transaction_service/events/tests/test_queue_service.py b/safe_transaction_service/events/tests/test_queue_service.py index 518d1173c..46e13c28b 100644 --- a/safe_transaction_service/events/tests/test_queue_service.py +++ b/safe_transaction_service/events/tests/test_queue_service.py @@ -18,6 +18,8 @@ def setUp(self): self.queue_service._channel.queue_bind( self.queue, self.queue_service.exchange_name ) + # Clean queue to avoid old messages + self.queue_service._channel.queue_purge(self.queue) def test_send_unsent_messages(self): queue_service = QueueServiceProvider()