Skip to content

Commit

Permalink
Add some more test assertions for cms.SMIMEEncryptionKeyPreference
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Oct 12, 2023
1 parent 4693b14 commit 40b51bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_cms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,3 +1027,15 @@ def test_backwards_compat_choice_names(self):
new_sekp.native,
old_sekp.native,
)
self.assertEqual(
new_sekp.chosen.untag().dump(True),
rki.dump(True),
)
self.assertEqual(
'recipient_key_id',
new_sekp.name,
)
self.assertEqual(
'recipient_key_id',
old_sekp.name,
)

0 comments on commit 40b51bc

Please sign in to comment.