Tx test supports multiple MIDI commands

This commit is contained in:
Ed
2024-04-26 13:05:52 +01:00
parent 9ddfff1d60
commit 7acd4ffe99
3 changed files with 33 additions and 8 deletions

View File

@@ -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}"