We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916db99 commit b323a06Copy full SHA for b323a06
tests/v2/fixtures.py
@@ -198,6 +198,14 @@ async def uri_and_metadata_factory() -> UriAndMetadata[None]:
198
199
await driver_task
200
201
+ assert len(expected) == 0, "Unconsumed messages from 'expected'"
202
+ assert messages_to_client_channel.qsize() == 0, (
203
+ "Dangling messages the client has not consumed"
204
+ )
205
+ assert messages_from_client_channel.qsize() == 0, (
206
+ "Dangling messages the processor has not consumed"
207
208
+
209
messages_to_client_channel.close()
210
messages_from_client_channel.close()
211
0 commit comments