From 45d1b4339399d617e12a05522cb214a7bbbb8508 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Mon, 25 Nov 2024 18:12:57 +0100 Subject: [PATCH] ts_31_102: fix testcase for EF_ePDGSelection the testcase EF_ePDGSelection has a wrong testvector in the plmn field. This test vector is accepted because there is a complementary error in pyosmocom. However, the root problem got fixed (see depends), which means that the test vector of EF_ePDGSelection now needs to be updated. Depends: pyosmocom.git: I3811b227d629bd4e051a480c9622967e31f8a376 Change-Id: I96fd4c13c8e58ef33ddf9e3124617b1b59b9b2c1 Related: OS#6598 --- pySim/ts_31_102.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py index 4eeacf20..1795341f 100644 --- a/pySim/ts_31_102.py +++ b/pySim/ts_31_102.py @@ -876,6 +876,7 @@ class EF_ePDGSelection(TransparentEF): _test_de_encode = [ ( '800600f110000100', {'e_pdg_selection': [{'plmn': '001-01', 'epdg_priority': 1, 'epdg_fqdn_format': 'operator_identified' }] }), ( '800600110000a001', {'e_pdg_selection': [{'plmn': '001-001', 'epdg_priority': 160, 'epdg_fqdn_format': 'location_based' }] }), + ( '800600011000a001', {'e_pdg_selection': [{'plmn': '001-010', 'epdg_priority': 160, 'epdg_fqdn_format': 'location_based' }] }), ] class ePDGSelection(BER_TLV_IE, tag=0x80): _construct = GreedyRange(Struct('plmn'/PlmnAdapter(Bytes(3)),