Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Geary-Layne committed Oct 30, 2024
1 parent 27f5a95 commit 1f2584f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/idsse_common/test/test_rabbitmq_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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'}
)


Expand Down

0 comments on commit 1f2584f

Please sign in to comment.