forked from Rockachopa/Timmy-time-dashboard
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user