diff --git a/examples/system/ota/README.md b/examples/system/ota/README.md index ff5e5ee8e0..f837b56100 100644 --- a/examples/system/ota/README.md +++ b/examples/system/ota/README.md @@ -156,7 +156,7 @@ Running a local https server might be tricky in some cases (due to self signed c - example of the script output: ``` bash $ cd idf/examples/system/ota/simple_ota_example -$ python example_test.py build 8070 +$ python pytest_simple_ota.py build 8070 Starting HTTPS server at "https://:8070" 192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 - ``` diff --git a/examples/system/ota/simple_ota_example/pytest_simple_ota.py b/examples/system/ota/simple_ota_example/pytest_simple_ota.py index 93edd4bde2..18b48af570 100644 --- a/examples/system/ota/simple_ota_example/pytest_simple_ota.py +++ b/examples/system/ota/simple_ota_example/pytest_simple_ota.py @@ -331,7 +331,7 @@ def test_examples_protocol_simple_ota_example_with_verify_app_signature_on_updat if __name__ == '__main__': if sys.argv[2:]: # if two or more arguments provided: - # Usage: example_test.py [cert_di>] + # Usage: pytest_simple_ota.py [cert_di>] this_dir = os.path.dirname(os.path.realpath(__file__)) bin_dir = os.path.join(this_dir, sys.argv[1]) port = int(sys.argv[2])