Merge branch 'ci/fix_pytest_otatool' into 'master'

fix(examples): Fix closing port in pytest_otatool

Closes IDFCI-2540

See merge request espressif/esp-idf!35117
This commit is contained in:
Konstantin Kondrashov
2024-11-26 08:50:22 +08:00

View File

@@ -18,7 +18,7 @@ def test_otatool_example(dut: Dut) -> None:
dut.expect('Example end')
# Close connection to DUT
dut.serial.proc.close()
dut.serial.close()
script_path = os.path.join(str(os.getenv('IDF_PATH')), 'examples', 'system', 'ota', 'otatool', 'otatool_example.py')
binary_path = ''