Add a virtual pad and an end-to-end test against the simulator, and run tests with pytest.

padcontroller.virtualpad presses pads and sets knobs through padcontroller-in,
refusing unless QLC+ last opened shows/test.qxw. tests/test_e2e_pad.py uses it
to check can and mover colours in the simulator's /api/state (PAD_E2E=1).

pytest is a dev package now, so the plain test functions unittest skipped run
too. test_small_eye.py is a rig tester, not a test, so pytest leaves it alone,
and the #14 direction assertion now matches the stage map (-179).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-10-22 17:58:04 +13:00
1 parent d522b1a2cf
commit 18f0ac2dc5
7 files changed
+363 -3

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ mido = "*"
python-rtmidi = "*"
[dev-packages]
pytest = "*"
[requires]
python_version = "3.12"