Skip to content

WIP - Adding TestCase with support to execute SDK Python Tests #22

WIP - Adding TestCase with support to execute SDK Python Tests

WIP - Adding TestCase with support to execute SDK Python Tests #22

Triggered via pull request November 9, 2023 10:07
Status Failure
Total duration 4m 50s
Artifacts

unittests.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

65 errors
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L30
Incompatible return value type (got "None", expected "Dict[Any, Any]") [return-value]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L35
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L39
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L42
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L46
Function is missing a return type annotation [no-untyped-def]
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/sdk_tests/support/yaml_tests/models/yaml_test_folder.py#L17
from test_collections.sdk_tests.support.paths import SDK_CHECKOUT_PATH UNKNOWN_version = "Unknown" VERSION_FILE_FILENAME = ".version" - class YamlTestFolder: """Representing a folder with Test YAML files.
test_collections/sdk_tests/support/python_testing/models/test_case.py#L16
'asyncio' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L51
Function is missing a return type annotation [no-untyped-def]
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/sdk_tests/support/python_testing/models/test_case.py#L48
PythonTestingTestType, ) # Custom type variable used to annotate the factory method in PythonTestingTestCase. T = TypeVar("T", bound="PythonTestingTestCase") + class PythonTestingTestCase(TestCase, TestRunnerHooks): """Base class for all Python Testing based test cases. This class provides a class factory that will dynamically declare a new sub-class
test_collections/sdk_tests/support/python_testing/models/test_case.py#L19
'signal' imported but unused (F401)
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/sdk_tests/support/python_testing/models/test_case.py#L353
test_type = ChipToolTestType.CHIP_TOOL def create_test_steps(self) -> None: for step in self.python_test.steps: self._append_automated_test_step(step) -
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L54
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L20
'subprocess' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L57
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L21
'sys' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L60
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L60
Function is missing a type annotation for one or more arguments [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L22
'threading' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L72
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L23
'time' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L72
Function is missing a type annotation for one or more arguments [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L24
'asyncio.create_task' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L85
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L88
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L24
'asyncio.run' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L91
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L27
'queue.Empty' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L27
'queue.Queue' imported but unused (F401)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L54
Expected 2 blank lines, found 1 (E302)
test_collections/sdk_tests/support/python_testing/models/python_testing_hooks_proxy.py#L100
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L60
Line too long (97 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L68
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L78
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L137
F-string is missing placeholders (F541)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L81
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L161
Line too long (96 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L84
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L89
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L284
Redefinition of unused 'setup' from line 173 (F811)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L92
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L100
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L295
Line too long (125 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L103
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L296
Line too long (159 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L103
Function is missing a type annotation for one or more arguments [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L308
Line too long (116 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L107
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L107
Function is missing a type annotation for one or more arguments [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L309
Line too long (90 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L112
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L327
Line too long (91 > 88 characters) (E501)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L116
Incompatible return value type (got "Callable[[], bool]", expected "bool") [return-value]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L358
Blank line at end of file (W391)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L284
Name "setup" already defined on line 173 [no-redef]
test_collections/sdk_tests/support/yaml_tests/models/yaml_test_folder.py#L25
Too many blank lines (3) (E303)
test_collections/sdk_tests/support/python_testing/models/test_case.py#L288
Function is missing a type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L302
"BaseManager" has no attribute "TestRunnerHooks" [attr-defined]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L323
Function is missing a return type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L326
Function is missing a type annotation [no-untyped-def]
test_collections/sdk_tests/support/python_testing/models/test_case.py#L350
Definition of "test_stop" in base class "PythonTestingTestCase" is incompatible with definition in base class "ChipToolTest" [misc]
Backend Tests
Process completed with exit code 1.