laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/38201?usp=email )
Change subject: ts_102_221: se _test_de_encode instead of _test_decode in EF.DIR unittest ......................................................................
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 --- M pySim/ts_102_221.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/pySim/ts_102_221.py b/pySim/ts_102_221.py index fa1bd39..5508be7 100644 --- a/pySim/ts_102_221.py +++ b/pySim/ts_102_221.py @@ -637,8 +637,7 @@
# 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" },