mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-28 00:08:36 +03:00
tests: Add ProfileElementSD and ProfileElementSSD to test_constructor_encode
Change-Id: Idc6f37b487dfa8a69ac7a50a537cfc317113d501
This commit is contained in:
@@ -66,7 +66,8 @@ class SaipTest(unittest.TestCase):
|
|||||||
def test_constructor_encode(self):
|
def test_constructor_encode(self):
|
||||||
"""Test that DER-encoding of PE created by "empty" constructor works without raising exception."""
|
"""Test that DER-encoding of PE created by "empty" constructor works without raising exception."""
|
||||||
for cls in [ProfileElementMF, ProfileElementPuk, ProfileElementPin, ProfileElementTelecom,
|
for cls in [ProfileElementMF, ProfileElementPuk, ProfileElementPin, ProfileElementTelecom,
|
||||||
ProfileElementUSIM, ProfileElementISIM, ProfileElementAKA]:
|
ProfileElementUSIM, ProfileElementISIM, ProfileElementAKA, ProfileElementSD,
|
||||||
|
ProfileElementSSD]:
|
||||||
with self.subTest(cls.__name__):
|
with self.subTest(cls.__name__):
|
||||||
pes = ProfileElementSequence()
|
pes = ProfileElementSequence()
|
||||||
inst = cls()
|
inst = cls()
|
||||||
|
|||||||
Reference in New Issue
Block a user