secure_boot_test_app: Update the test_app to use pytest framework Closes IDFCI-1135 See merge request espressif/esp-idf!17967