Skip to content

fix: Correct mock patch path for create_connection in integration tests#10

Merged
semoi merged 1 commit into
mainfrom
claude/fix-ci-python-versions-018kccYKAtyyYfLwjTaRGFbB
Nov 23, 2025
Merged

fix: Correct mock patch path for create_connection in integration tests#10
semoi merged 1 commit into
mainfrom
claude/fix-ci-python-versions-018kccYKAtyyYfLwjTaRGFbB

Conversation

@semoi

@semoi semoi commented Nov 23, 2025

Copy link
Copy Markdown
Owner

The tests were patching 'tvDatafeed.main.ws.create_connection' but the module imports 'from websocket import create_connection' directly, not 'import websocket as ws'. Updated to patch 'tvDatafeed.main.create_connection'.

The tests were patching 'tvDatafeed.main.ws.create_connection' but the
module imports 'from websocket import create_connection' directly, not
'import websocket as ws'. Updated to patch 'tvDatafeed.main.create_connection'.
@semoi semoi merged commit 524082e into main Nov 23, 2025
2 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants