Do not error while parsing SDK python tests #506
GitHub Actions / Black
failed
Sep 9, 2024 in 0s
1 error
Black found 1 error
Annotations
github-actions / Black
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/python_testing/models/python_test_parser.py#L235-L248
].value.value
step_name = step.args[ARG_STEP_DESCRIPTION_INDEX].value
parsed_step_name = step_name
except Exception as e:
- logger.warning(
- f"Fail parsing step name from {method.name}, Error:{str(e)}"
- )
+ logger.warning(f"Fail parsing step name from {method.name}, Error:{str(e)}")
parsed_step_name = "UNABLE TO PARSE TEST STEP NAME"
python_steps.append(
MatterTestStep(
label=parsed_step_name, is_commissioning=arg_is_commissioning
Loading