We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06c0991 commit baec139Copy full SHA for baec139
1 file changed
tests/conftest.py
@@ -297,4 +297,6 @@ async def fixture_live_client(
297
with mock_live_server.test_context():
298
yield test_client
299
300
- test_client.stop()
+ if test_client.is_connected():
301
+ test_client.stop()
302
+ await test_client.wait_for_close()
0 commit comments