pySim.saip: Add ProfileElementRFM class

Change-Id: I547e02c12345932deafa4b914fcaeaa183b69798
This commit is contained in:
Harald Welte
2024-07-06 13:47:09 +02:00
committed by laforge
parent 2668eb6148
commit 3b7e2ae2c1
2 changed files with 35 additions and 0 deletions

View File

@@ -74,6 +74,13 @@ class SaipTest(unittest.TestCase):
pes.append(inst)
pes.to_der()
# RFM requires some constructor arguments
cls = ProfileElementRFM
with self.subTest(cls.__name__):
pes = ProfileElementSequence()
inst = cls(inst_aid=b'\x01\x02', sd_aid=b'\x03\x04', tar_list=[b'\x01\x02\x03'])
pes.append(inst)
pes.to_der()
if __name__ == "__main__":