forked from PAWPAW-Mirror/lib_xua
Failing MIDI tx test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user