Files
lg-smtv-mcp/src
kiskaadee 5a8ebffad2
Core Architecture & Invariant CI / validate (pull_request) Successful in 16s
fix(capture): read Dev Mode screenshots via asyncssh SFTP open()
- src/lg_smtv_mcp/tv_core/capture.py: replace the nonexistent sftp.read() with sftp.open(path, 'rb') and an async context manager; the live AC#2 smoke against asyncssh 2.24.0 raised AttributeError because SFTPClient exposes open(), not read()
- tests/test_capture.py: reshape the SFTP fake to the real asyncssh contract (regular open(), async file read(), async context manager) and add a regression test asserting the real class API, closing the mock gap that let offline tests pass while the live screenshot tool failed
- tests/test_server.py: align the capture-wiring SFTP fake with the same open()/async-file contract so the default transport test exercises the real call shape
2026-11-17 16:15:56 -05:00
..