Files
wled-screen-controller-mixed/server/tests/test_wled_client.py
alexei.dolgolyov 250ebcd105
Some checks failed
Lint & Test / test (push) Failing after 1m54s
fix: resolve all CI test failures — lazy tkinter, mock network calls
- Lazy-import tkinter in screen_overlay.py (TYPE_CHECKING + runtime
  import) so the module loads on headless Linux CI without libtk8.6
- Fix test_wled_client.py: mock all HTTP endpoints with respx (info,
  cfg, state) instead of hitting real network
- Fix test_calibration.py: assert numpy array shape instead of tuple
- Fix test_processor_manager.py: update to current API (async
  remove_device, dict settings, no update_calibration)
- Fix test_screen_capture.py: get_edge_segments allows more segments
  than pixels

341 tests passing, 0 failures.
2026-03-22 02:18:53 +03:00

7.8 KiB