We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5128362 commit 3779c49Copy full SHA for 3779c49
python/tests/test_callback_subscription.py
@@ -31,7 +31,7 @@ async def callback(msg: object) -> None:
31
await nats.publish(subj, b"msg-1")
32
await nats.publish(subj, b"msg-2")
33
await asyncio.wait_for(event.wait(), timeout=5.0)
34
- assert received == [b"msg-1", b"msg-2"]
+ assert set(received) == {b"msg-1", b"msg-2"}
35
36
37
async def test_callback_drain(nats_url: str) -> None:
0 commit comments