Skip to content

Commit f2a8706

Browse files
committed
add: context=A128KW test as success case
1 parent 71c4566 commit f2a8706

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

tests/test_utils.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,19 @@ def test_to_cis_without_supp_pub_other(self):
7272
)
7373
assert isinstance(res, list)
7474

75+
def test_to_cis_without_apu_apv_supp_pub_other(self):
76+
res = to_cis(
77+
{
78+
"alg": "A128KW",
79+
"supp_pub": {
80+
"key_data_length": 128,
81+
"protected": {"alg": "ECDH-ES+A128KW"},
82+
"other": "SUIT Payload Encryption",
83+
},
84+
}
85+
)
86+
assert isinstance(res, list)
87+
7588
@pytest.mark.parametrize(
7689
"invalid, msg",
7790
[

0 commit comments

Comments
 (0)