1
0

fix: rename src/websocket to src/ws_manager to avoid websocket-client clash

selenium depends on websocket-client which installs a top-level
`websocket` package that shadows our src/websocket/ module on CI.
Renaming to ws_manager eliminates the conflict entirely — no more
sys.path hacks needed in conftest or Selenium tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexander Payne
2026-02-25 07:57:28 -05:00
parent e483748816
commit 3463f4e4a4
11 changed files with 18 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
"""Extended tests for websocket/handler.py — broadcast, disconnect, convenience."""
"""Extended tests for ws_manager/handler.py — broadcast, disconnect, convenience."""
import asyncio
import json
@@ -6,7 +6,7 @@ from unittest.mock import AsyncMock, MagicMock
import pytest
from websocket.handler import WebSocketManager, WSEvent
from ws_manager.handler import WebSocketManager, WSEvent
class TestWSEventSerialization: