tweak test_configurable_parameters.py: show value found in template

Change-Id: If9039bbb8547ee24ae784a932f60cd5de6c9247b
This commit is contained in:
Neels Hofmeyr
2026-04-25 05:23:50 +02:00
parent f3760f7572
commit a1a85c3214
2 changed files with 672 additions and 0 deletions

View File

@@ -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: