Skip to content

Add python tests model classes #84

Add python tests model classes

Add python tests model classes #84

Triggered via pull request November 27, 2023 12:40
@rquiduterquidute
synchronize #19
Status Success
Total duration 42s
Artifacts

python-lint.yml

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

Annotations

11 errors and 1 warning
app/chip_tool/test_suite.py#L283
Blank line at end of file (W391)
app/tests/chip_tool/test_chip_tool.py#L991
Blank line at end of file (W391)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L33
Name "is_finished" already defined on line 23 [no-redef]
/home/runner/work/certification-tool-backend/certification-tool-backend/app/chip_tool/test_suite.py#L278
case _: logger.info( f"Received unknown prompt option for \ decommissioning step: {prompt_response.response}" ) -
/home/runner/work/certification-tool-backend/certification-tool-backend/app/tests/chip_tool/test_chip_tool.py#L986
mock_send_websocket_command.assert_awaited_once_with(expected_command) # clean up: chip_tool._ChipTool__chip_tool_container = None settings.CHIP_TOOL_TRACE = original_trace_setting_value -
test_collections/sdk_tests/support/python_testing/models/rpc_client/test_harness_client.py#L28
Name "TestRunnerHooks" already defined (possibly by an import) [no-redef]
test_collections/sdk_tests/support/python_testing/models/rpc_client/test_harness_client.py#L48
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/rpc_client/test_harness_client.py#L65
"BaseManager" has no attribute "TestRunnerHooks" [attr-defined]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L100
"PythonTestCase" has no attribute "__runned" [attr-defined]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L261
Value of type "Coroutine[Any, Any, None]" must be used [unused-coroutine]
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/