Skip to content

Commit

Permalink
fix (hierarchical templates): use proper uri (#53)
Browse files Browse the repository at this point in the history
* fix (hierarchical templates): use proper uri for app and rad core templates
* fix (hierarchical templates): use unittest.mock instead of mock package for the test_ncs_sign_script.py
* fix (hierarchical templates): upgrade coverage version to >= 6.3

Signed-off-by: Robert Stypa <[email protected]>
  • Loading branch information
robertstypa authored Oct 31, 2023
1 parent 42489ab commit 95e4ab4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ncs/app_envelope.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ncs/rad_envelope.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytest
pytest-mock
pytest-cov
coverage
coverage>=6.3
deepdiff
intelhex
2 changes: 1 addition & 1 deletion tests/test_ncs_sign_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95e4ab4

Please sign in to comment.