From 8dd2b2673e3eb3c523697c15a5b9064b6ddd3c2d Mon Sep 17 00:00:00 2001 From: akardasz <34469992+aKardasz@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:37:26 +0000 Subject: [PATCH] fixes to inbox_prefix test --- tests/brokers/nats/test_test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/brokers/nats/test_test_client.py b/tests/brokers/nats/test_test_client.py index 0d80638398..30613bc429 100644 --- a/tests/brokers/nats/test_test_client.py +++ b/tests/brokers/nats/test_test_client.py @@ -88,8 +88,8 @@ async def test_inbox_prefix_with_real( broker = NatsBroker(inbox_prefix="test") async with TestNatsBroker(broker, with_real=True) as br: - assert br._connection._inbox_prefix == "test" - assert "test" in str(br._connection.new_inbox) + assert br._connection._inbox_prefix == b'test' + assert "test" in str(br._connection.new_inbox()) async def test_respect_middleware(self, queue):