From 1f45799188e4b61fcbe7aaff8af4611789a03c5e Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 18 Sep 2024 17:44:07 +0200 Subject: [PATCH] ts_102_221: se _test_de_encode instead of _test_decode in EF.DIR unittest The unittest for EF.DIR only runs with _test_decode, but it also runs with _test_de_encode without any problems Related: OS#5714 Change-Id: If459073c6ff927c1cc1790d506e3979243b1fb4c --- pySim/ts_102_221.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pySim/ts_102_221.py b/pySim/ts_102_221.py index fa1bd39d..5508be76 100644 --- a/pySim/ts_102_221.py +++ b/pySim/ts_102_221.py @@ -637,8 +637,7 @@ SC_DO = DataObjectChoice('security_condition', 'Security Condition', # TS 102 221 Section 13.1 class EF_DIR(LinFixedEF): - # FIXME: re-encode failure when changing to _test_de_encode - _test_decode = [ + _test_de_encode = [ ( '61294f10a0000000871002ffffffff890709000050055553696d31730ea00c80011781025f608203454150', { "application_template": [ { "application_id": h2b("a0000000871002ffffffff8907090000") }, { "application_label": "USim1" },