Files
lg-smtv-mcp/tests
kiskaadee 85a5acad35 fix(cli): use wss://:3001 for TV pairing and catch WebSocketException
- src/lg_smtv_mcp/cli.py: update _pair_tv() to connect via wss://<ip>:3001 matching TvManager and WebOS/4.1.0 TLS SSAP endpoint; catch WebSocketException in main() so handshake errors exit cleanly with code 1

- tests/test_cli.py: update pairing URL assertion to wss://192.0.2.20:3001 and add test_cli_pair_returns_nonzero_on_websocket_handshake_error
2026-11-19 00:41:47 -05:00
..