-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Version
1.49.1
Steps to reproduce
The test code uses a custom chromium path. TEST_BROWSER_PATH.
- Clone https://github.com/nishirken/websocket-test
- Install uv
pip install uv
- Install deps
uv sync && npm i
- Launch the client
python -m http.server 8000
- Launch the server
uv run server.py
- Launch the python test
uv run test_websocket.py
- Launch the ts test
npx ts-node test_websocket.ts
Expected behavior
The python and ts versions should behave the same.
The python version prints a message when the WebSocket route is established and sends a fake message to the client. (The ts version does it as expected)
Actual behavior
No logs and no messages in the python version.
Additional context
No response
Environment
- Operating System: Linux 6.11 NixOS 24.05 (Uakari) 24.05 (Uakari)
- CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
- Browser: Chromium
- Python Version: [3.11.10]
- Other info:
Metadata
Metadata
Assignees
Labels
No labels