forked from PAWPAW-Mirror/lib_xua
Tx test supports multiple MIDI commands
This commit is contained in:
@@ -43,7 +43,6 @@ def test_rx(capfd, config, build_midi):
|
||||
stop = 1
|
||||
|
||||
midi_commands_flattened = [item for row in midi_commands for item in row]
|
||||
# midi_commands_flattened.append(0x00) # send a null afterwards to give RXChecker to complete
|
||||
|
||||
simthreads = [
|
||||
UARTRxChecker(tx_port, rx_port, parity, baud, stop, bpb, midi_commands_flattened, debug=False)
|
||||
@@ -69,4 +68,4 @@ def test_rx(capfd, config, build_midi):
|
||||
print("EXPECTED:", expected)
|
||||
|
||||
|
||||
assert result, f"expected: {expected}\n capture: {capture}"
|
||||
assert result, f"expected: {expected}\n capture: {capture}"
|
||||
|
||||
Reference in New Issue
Block a user