mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-05-03 23:18:53 +03:00
tweak test_configurable_parameters.py: show value found in template
Change-Id: If9039bbb8547ee24ae784a932f60cd5de6c9247b
This commit is contained in:
@@ -393,6 +393,10 @@ class ConfigurableParameterTest(unittest.TestCase):
|
||||
# on my laptop, deepcopy is about 30% slower than decoding the DER from scratch:
|
||||
# pes = copy.deepcopy(orig_pes)
|
||||
pes = ProfileElementSequence.from_der(der)
|
||||
|
||||
found = list((t.param_cls.get_value_from_pes(pes) or {}).values())
|
||||
testlog.append(f"previous value: {found}")
|
||||
|
||||
try:
|
||||
param.apply(pes)
|
||||
except ValueError as e:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user