mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-06-24 08:48:30 +03:00
saip/personalization: add EuiccMandatoryServiceParam for 3 services
Change-Id: Icddeb2488c4a024c6ee5afcc1b6c8cc0e436c43c
This commit is contained in:
@@ -281,6 +281,33 @@ class ConfigurableParameterTest(unittest.TestCase):
|
||||
val=3,
|
||||
expect_clean_val=3,
|
||||
expect_val='3'),
|
||||
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceGetIdentity,
|
||||
val='mandatory',
|
||||
expect_clean_val=True,
|
||||
expect_val='mandatory'),
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceGetIdentity,
|
||||
val='optional',
|
||||
expect_clean_val=False,
|
||||
expect_val='optional'),
|
||||
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceProfileA,
|
||||
val='mandatory',
|
||||
expect_clean_val=True,
|
||||
expect_val='mandatory'),
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceProfileA,
|
||||
val='optional',
|
||||
expect_clean_val=False,
|
||||
expect_val='optional'),
|
||||
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceProfileB,
|
||||
val='mandatory',
|
||||
expect_clean_val=True,
|
||||
expect_val='mandatory'),
|
||||
Paramtest(param_cls=p13n.EuiccMandatoryServiceProfileB,
|
||||
val='optional',
|
||||
expect_clean_val=False,
|
||||
expect_val='optional'),
|
||||
]
|
||||
|
||||
Paramtest.iff_present_default = True
|
||||
|
||||
@@ -214,6 +214,36 @@ ok: TS48v5_SAIP2.1A_NoBERTLV.der MncLen(val=3:int)
|
||||
previous value: ['2']
|
||||
read_back_val={'MNC-LEN': '3'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-get-identity': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-get-identity': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceProfileA(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceProfileA(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceProfileB(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der EuiccMandatoryServiceProfileB(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1A_NoBERTLV.der SuciActive(val='SUCI-on':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['SUCI-on']
|
||||
@@ -1094,6 +1124,36 @@ ok: TS48v5_SAIP2.3_BERTLV_SUCI.der MncLen(val=3:int)
|
||||
previous value: ['2']
|
||||
read_back_val={'MNC-LEN': '3'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceGetIdentity(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-get-identity': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceGetIdentity(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-get-identity': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceProfileA(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceProfileA(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceProfileB(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der EuiccMandatoryServiceProfileB(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_BERTLV_SUCI.der SuciActive(val='SUCI-on':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['SUCI-on']
|
||||
@@ -1974,6 +2034,36 @@ ok: TS48v5_SAIP2.1B_NoBERTLV.der MncLen(val=3:int)
|
||||
previous value: ['2']
|
||||
read_back_val={'MNC-LEN': '3'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-get-identity': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-get-identity': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceProfileA(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceProfileA(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceProfileB(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der EuiccMandatoryServiceProfileB(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['optional']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.1B_NoBERTLV.der SuciActive(val='SUCI-on':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['SUCI-on']
|
||||
@@ -2854,6 +2944,36 @@ ok: TS48v5_SAIP2.3_NoBERTLV.der MncLen(val=3:int)
|
||||
previous value: ['2']
|
||||
read_back_val={'MNC-LEN': '3'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-get-identity': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceGetIdentity(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-get-identity': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceProfileA(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceProfileA(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-a-x25519': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceProfileB(val='mandatory':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'mandatory'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der EuiccMandatoryServiceProfileB(val='optional':str)
|
||||
clean_val=False:bool
|
||||
previous value: ['mandatory']
|
||||
read_back_val={'5G-eUICC-profile-b-p256': 'optional'}:{str}
|
||||
|
||||
ok: TS48v5_SAIP2.3_NoBERTLV.der SuciActive(val='SUCI-on':str)
|
||||
clean_val=True:bool
|
||||
previous value: ['SUCI-on']
|
||||
|
||||
Reference in New Issue
Block a user