dexter has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/00/38200/1
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index 69e20e4..2dac55e 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -812,7 +812,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,
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/38200?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib876fd799f871fe64ced2a7b64847ffd09e16ed9
Gerrit-Change-Number: 38200
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>