From 724ed522090d49c2fa1f13953385ece8847b0632 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Fri, 22 Nov 2024 07:32:25 +0200 Subject: [PATCH] fix(examples): Fix closing port in pytest_otatool --- examples/system/ota/otatool/pytest_otatool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/system/ota/otatool/pytest_otatool.py b/examples/system/ota/otatool/pytest_otatool.py index a8fe39976a..a8f1e3c16d 100644 --- a/examples/system/ota/otatool/pytest_otatool.py +++ b/examples/system/ota/otatool/pytest_otatool.py @@ -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 = ''