diff --git a/ncs/app_envelope.yaml.jinja2 b/ncs/app_envelope.yaml.jinja2 index 4e412674..2277aedd 100644 --- a/ncs/app_envelope.yaml.jinja2 +++ b/ncs/app_envelope.yaml.jinja2 @@ -46,7 +46,7 @@ SUIT_Envelope_Tagged: - suit-send-record-failure suit-install: - suit-directive-override-parameters: - suit-parameter-uri: '#{{ app['binary'] }}' + suit-parameter-uri: '#{{ app['name'] }}' - suit-directive-fetch: - suit-send-record-failure - suit-condition-image-match: diff --git a/ncs/rad_envelope.yaml.jinja2 b/ncs/rad_envelope.yaml.jinja2 index f3e18ca1..eb322814 100644 --- a/ncs/rad_envelope.yaml.jinja2 +++ b/ncs/rad_envelope.yaml.jinja2 @@ -46,7 +46,7 @@ SUIT_Envelope_Tagged: - suit-send-record-failure suit-install: - suit-directive-override-parameters: - suit-parameter-uri: '#{{ hci_rpmsg_subimage['binary'] }}' + suit-parameter-uri: '#{{ hci_rpmsg_subimage['name'] }}' - suit-directive-fetch: - suit-send-record-failure - suit-condition-image-match: diff --git a/tests/requirements-test.txt b/tests/requirements-test.txt index bf44f5e9..7177314e 100644 --- a/tests/requirements-test.txt +++ b/tests/requirements-test.txt @@ -1,6 +1,6 @@ pytest pytest-mock pytest-cov -coverage +coverage>=6.3 deepdiff intelhex \ No newline at end of file diff --git a/tests/test_ncs_sign_script.py b/tests/test_ncs_sign_script.py index 2a13e6e6..722cb166 100644 --- a/tests/test_ncs_sign_script.py +++ b/tests/test_ncs_sign_script.py @@ -15,7 +15,7 @@ import sys import uuid -from mock import patch +from unittest.mock import patch from cryptography.hazmat.primitives.serialization import load_pem_private_key from cryptography.hazmat.primitives import hashes