You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running test on tests/testfiles/good_altValPercent.json
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "(redacted)/ode-output-validator-library/odevalidator/main.py", line 29, in
results = TestCase(args.config_file_path).validate_queue(msg_queue)
File "(redacted)/ode-output-validator-library/odevalidator/validator.py", line 445, in validate_queue
sorted_list = sorted(msg_list, key=lambda msg: msg['metadata']['serialId']['serialNumber'])
File "(redacted)/ode-output-validator-library/odevalidator/validator.py", line 445, in
sorted_list = sorted(msg_list, key=lambda msg: msg['metadata']['serialId']['serialNumber'])
KeyError: 'metadata'
The text was updated successfully, but these errors were encountered:
Upon running the
good_AltValPercent.json
file through the odevalidator, the check is interrupted by a KeyError.Command:
Output:
The text was updated successfully, but these errors were encountered: