Skip to content

Commit 64e23f3

Browse files
Merge branch 'fix/usb_host_msc_example_pytest_hub' into 'master'
fix(usb_host): Fix msc example pytest to support external hub Closes IDFCI-2441 See merge request espressif/esp-idf!38385
2 parents 11890df + 07765cd commit 64e23f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/peripherals/usb/host/msc/pytest_usb_host_msc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_usb_host_msc_example(dut: Dut) -> None:
1313
max_packet_size = int(dut.expect(r'wMaxPacketSize (\d{2,3})')[1].decode())
1414

1515
# Check result of file_operations()
16-
dut.expect_exact("example: Read from file '/usb/esp/test.txt': 'Hello World!'")
16+
dut.expect(r"example: Read from file '/usb[0-9]/esp/test.txt': 'Hello World!'")
1717

1818
# Check result of speed_test()
1919
write_throughput = float(dut.expect(r'example: Write speed ([0-9]*[.]?[0-9]+) MiB')[1].decode())

0 commit comments

Comments
 (0)