Phase 7: Stability test + fix MIDI test signature

- tests/test_stability.py — 1-hour continuous DSP pipeline stability test
  covering all 46 FX types with CPU/memory/NaN monitoring
- tests/test_integration.py — fixed test_midi_cc_maps_expression to use
  correct _on_midi_cc(value, cc_number, channel) signature matching
  the Phase 6 MIDI fix
This commit is contained in:
2026-06-12 13:29:55 -04:00
parent f8d7db731e
commit 8e84b0217d
2 changed files with 385 additions and 3 deletions
+2 -3
View File
@@ -244,9 +244,8 @@ class TestMIDIRouting:
"""MIDI CC 11 adjusts master volume on the pipeline."""
pedal_app.boot()
assert pedal_app.pipeline is not None
initial_vol = pedal_app.pipeline._master_volume
# Simulate expression pedal at 50%
pedal_app._on_midi_cc(64, 11)
# Simulate expression pedal at 50% (value=64, CC=11, channel=0)
pedal_app._on_midi_cc(64, 11, 0)
assert pedal_app.pipeline._master_volume == pytest.approx(64 / 127.0)
def test_midi_pc_without_presets_does_not_crash(self, pedal_app):