fix(examples): Fix closing port in pytest_otatool

This commit is contained in:
Konstantin Kondrashov
2024-11-22 07:32:25 +02:00
parent ce72392e2f
commit 724ed52209

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 = ''