pySim.esim.saip: ProfileElement{Header,End} classes

Change-Id: I88e18c1ee4907eeac3ae5d04d7bc30d6765f91fa
This commit is contained in:
Harald Welte
2024-07-06 22:16:44 +02:00
committed by laforge
parent 5f9b8a8fc1
commit 03aebf5b43
2 changed files with 30 additions and 2 deletions

View File

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