From 1f2584ff3adbda5bb78153a38d94b853217d53aa Mon Sep 17 00:00:00 2001 From: Geary-Layne Date: Wed, 30 Oct 2024 10:00:14 -0600 Subject: [PATCH] fixed tests --- python/idsse_common/test/test_rabbitmq_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/idsse_common/test/test_rabbitmq_utils.py b/python/idsse_common/test/test_rabbitmq_utils.py index 867dbab..6b603f6 100644 --- a/python/idsse_common/test/test_rabbitmq_utils.py +++ b/python/idsse_common/test/test_rabbitmq_utils.py @@ -102,7 +102,7 @@ def test_connection_params_works(monkeypatch: MonkeyPatch, mock_connection: Mock exclusive=RMQ_PARAMS.queue.exclusive, durable=RMQ_PARAMS.queue.durable, auto_delete=RMQ_PARAMS.queue.auto_delete, - arguments=None + arguments={'x-queue-type': 'classic'} ) _channel.queue_bind.assert_called_once_with( @@ -143,7 +143,7 @@ def test_private_queue_sets_ttl(monkeypatch: MonkeyPatch, mock_connection: Mock) exclusive=example_queue.exclusive, durable=example_queue.durable, auto_delete=example_queue.auto_delete, - arguments={'x-message-ttl': 10000} + arguments={'x-message-ttl': 10000, 'x-queue-type': 'classic'} )