pySim.esim.saip: Add ProfileElementAKA constructor + methods

This helps us to construct an akaParameter PE from scratch.

Change-Id: I4cc42c98bf82aec085ab7f48aea4ff7efa0eae9e
This commit is contained in:
Harald Welte
2024-07-06 12:41:33 +02:00
committed by laforge
parent c0ea149555
commit 292191d67a
2 changed files with 50 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ class SaipTest(unittest.TestCase):
def test_constructor_encode(self):
"""Test that DER-encoding of PE created by "empty" constructor works without raising exception."""
for cls in [ProfileElementMF, ProfileElementPuk, ProfileElementPin, ProfileElementTelecom,
ProfileElementUSIM, ProfileElementISIM]:
ProfileElementUSIM, ProfileElementISIM, ProfileElementAKA]:
with self.subTest(cls.__name__):
pes = ProfileElementSequence()
inst = cls()