Skip to content

[Feature] DO NOT require commissioning every test #685

[Feature] DO NOT require commissioning every test

[Feature] DO NOT require commissioning every test #685

Triggered via pull request January 2, 2025 14:56
@rquiduterquidute
synchronize #178
Status Success
Total duration 36s
Artifacts

python-lint.yml

on: pull_request_target
Run linters
28s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test_collections/matter/sdk_tests/support/python_testing/models/test_suite.py#L17
'pathlib.Path' imported but unused (F401)
test_collections/matter/sdk_tests/support/python_testing/models/test_suite.py#L33
'...utils.prompt_re_use_commissioning' imported but unused (F401)
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/tests/python_tests/test_python_test_case.py#L220
test_case = LegacyPythonTestCase.class_factory( test=test, python_test_version="version", mandatory=False, - )(test_case_execution) # type: ignore + )( + test_case_execution + ) # type: ignore with mock.patch( "test_collections.matter.sdk_tests.support.python_testing.models.test_case" ".prompt_for_commissioning_mode", return_value=PromptOption.NO,
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/tests/python_tests/test_python_test_case.py#L290
test_case = LegacyPythonTestCase.class_factory( test=test, python_test_version="version", mandatory=False, - )(test_case_execution) # type: ignore + )( + test_case_execution + ) # type: ignore mock_prompt_response_no = mock.Mock() mock_prompt_response_no.response = PromptOption.NO mock_config = mock.Mock()
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/tests/python_tests/test_python_test_case.py#L381
test_case = LegacyPythonTestCase.class_factory( test=test, python_test_version="version", mandatory=False, - )(test_case_execution) # type: ignore + )( + test_case_execution + ) # type: ignore mock_prompt_response_yes = mock.Mock() mock_prompt_response_yes.response = PromptOption.YES mock_prompt_response_no = mock.Mock()