diff options
| author | hathach <[email protected]> | 2024-11-13 19:32:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-11-13 19:32:57 +0700 |
| commit | 401a704804da3a039c98870783d895dc2a1646f7 (patch) | |
| tree | 0c48fb75cb750721b505736633c5ba52ccff5e44 | |
| parent | 98bc480f7320f0272a185c64f2a1d518357ea800 (diff) | |
clean up
| -rwxr-xr-x | test/hil/hil_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 63902f515..f125c0d28 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -393,12 +393,12 @@ def test_device_cdc_msc(board): port = get_serial_dev(uid, 'TinyUSB', "TinyUSB_Device", 0) ser = open_serial_dev(port) - str = b"test_str" - ser.write(str) + test_str = b"test_str" + ser.write(test_str) ser.flush() - rd_str = ser.read(len(str)) + rd_str = ser.read(len(test_str)) ser.close() - assert rd_str == str, f'CDC wrong data: expected: {str} was {rd_str}' + assert rd_str == test_str, f'CDC wrong data: expected: {test_str} was {rd_str}' # Block test data = read_disk_file(uid,0,'README.TXT') |
