laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/38200?usp=email )
Change subject: ts_51_011: use _test_de_encode instead of _test_decode in EF.CFIS unittest ......................................................................
ts_51_011: use _test_de_encode instead of _test_decode in EF.CFIS unittest
The unittest for EF.CFIS only runs with _test_decode, but it also runs with _test_de_encode without any problems
Related: OS#5714 Change-Id: Ib876fd799f871fe64ced2a7b64847ffd09e16ed9 --- M pySim/ts_51_011.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py index be8926c..d28e8ee 100644 --- a/pySim/ts_51_011.py +++ b/pySim/ts_51_011.py @@ -841,7 +841,7 @@
# TS 51.011 Section 10.3.46 class EF_CFIS(LinFixedEF): - _test_decode = [ + _test_de_encode = [ ( '0100ffffffffffffffffffffffffffff', {"msp_number": 1, "cfu_indicator_status": { "voice": False, "fax": False, "data": False, "rfu": 0 }, "len_of_bcd": 255, "ton_npi": {"ext": True,