Failing MIDI tx test

This commit is contained in:
Ed
2024-04-26 13:26:01 +01:00
parent 7acd4ffe99
commit 787ffee132

View File

@@ -23,14 +23,14 @@ def test_tx(capfd, config, build_midi):
copy_tree(build_midi, tmpdirname)
xe = str(Path(tmpdirname) / f"{config}/test_midi_{config}.xe")
# midi_commands = [[0x90, 0x91, 0x90],# Invalid and should be discarded
# [0x90, 60, 81], # Note on
# [0x80, 60, 81]] # Note off
midi_commands = [
midi_commands = [[0x90, 0x91, 0x90],# Invalid and should be discarded
[0x90, 60, 81], # Note on
[0x80, 60, 81]] # Note off
# midi_commands = [
# [0x90, 60, 81], # Note on
# [0x80, 60, 81]] # Note off
# midi_command_expected = midi_commands[1:] # should skip invalid first message
# Make a 1D list from the 2D list