Skip to content

Commit

Permalink
fixes to inbox_prefix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aKardasz committed Jun 13, 2024
1 parent ce04176 commit 8dd2b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/brokers/nats/test_test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8dd2b26

Please sign in to comment.