diff --git a/pygitweb/smart_http_test.py b/pygitweb/smart_http_test.py
index 879adb2..2ffe399 100644
--- a/pygitweb/smart_http_test.py
+++ b/pygitweb/smart_http_test.py
@@ -197,7 +197,13 @@ class TestSmartHttpRoutes:
 			sock.bind(("127.0.0.1", 0))
 			port = sock.getsockname()[1]
 
-		config = uvicorn.Config(app, host="127.0.0.1", port=port, log_level="error")
+		config = uvicorn.Config(
+			app,
+			host="127.0.0.1",
+			port=port,
+			log_level="error",
+			ws="none",
+		)
 		server = uvicorn.Server(config)
 		thread = threading.Thread(target=server.run, daemon=True)
 		thread.start()
