Skip to content

Commit 2bdd9cc

Browse files
committed
stop server in yws_server fixture teardown
1 parent 11597d5 commit 2bdd9cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ async def yws_server(request):
3232
try:
3333
async with websocket_server, serve(websocket_server.serve, "127.0.0.1", 1234):
3434
yield websocket_server
35+
websocket_server.stop()
3536
except Exception:
3637
pass
3738

0 commit comments

Comments
 (0)