From ca5926ed1532fcd1dd264ef4f5a7a357fef66cfc Mon Sep 17 00:00:00 2001 From: Aymeric Augustin <aymeric.augustin@fractalideas.com> Date: Sun, 1 Oct 2023 16:59:33 +0200 Subject: [PATCH] Go back to 100% coverage. Broken in 1bf9d1d7. --- tests/legacy/test_client_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/legacy/test_client_server.py b/tests/legacy/test_client_server.py index f7e02d10..c49d91b7 100644 --- a/tests/legacy/test_client_server.py +++ b/tests/legacy/test_client_server.py @@ -192,8 +192,8 @@ async def process_request(self, path, request_headers): class ProcessRequestReturningIntProtocol(WebSocketServerProtocol): async def process_request(self, path, request_headers): - if path == "/__health__/": - return 200, [], b"OK\n" + assert path == "/__health__/" + return 200, [], b"OK\n" class SlowOpeningHandshakeProtocol(WebSocketServerProtocol):