From 1c926ee9277ac6240c08ef2807e5db748f3e0f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Tue, 15 Oct 2024 10:28:54 +0200 Subject: [PATCH] fix unit tests --- tests/test_clustering/test_a.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_clustering/test_a.py b/tests/test_clustering/test_a.py index 3c98845..8383c05 100644 --- a/tests/test_clustering/test_a.py +++ b/tests/test_clustering/test_a.py @@ -265,7 +265,7 @@ class TestA(unittest.TestCase): Queue(u'helloA', exclusive=True, auto_delete=True)) fut.result() - self.c.publish(Message(b'ioi'), routing_key=u'helloA') + self.c.publish(Message(b'ioi'), routing_key=u'helloA', confirm=True).result() self.assertIsInstance(self.c.drain(2), MessageReceived) self.assertIsInstance(self.c.drain(1), NothingMuch) -- GitLab