mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-23 22:08:34 +03:00
pySim.saip: Add ProfileElementRFM class
Change-Id: I547e02c12345932deafa4b914fcaeaa183b69798
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user