tests/unit_tests: sync unit tests after model changes (error_code field) #1842
Annotations
1 error and 12 warnings
Lint:
tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
|
Lint:
tests/unit_tests/test_node_handler.py#L16
third party import "from kernelci.api.models import Node, Revision" should be placed before "from tests.unit_tests.conftest import BEARER_TOKEN"
|
Lint:
tests/unit_tests/test_node_handler.py#L30
line too long (84 > 79 characters)
|
Lint:
tests/unit_tests/test_node_handler.py#L43
unexpected spaces around keyword / parameter equals
|
Lint:
tests/unit_tests/test_node_handler.py#L105
line too long (92 > 79 characters)
|
Lint:
tests/unit_tests/test_node_handler.py#L123
line too long (92 > 79 characters)
|
Lint:
tests/unit_tests/test_node_handler.py#L198
line too long (81 > 79 characters)
|
Lint:
tests/unit_tests/test_node_handler.py#L209
unexpected spaces around keyword / parameter equals
|
Lint:
tests/unit_tests/test_node_handler.py#L209
unexpected spaces around keyword / parameter equals
|
Lint:
tests/unit_tests/test_node_handler.py#L275
line too long (92 > 79 characters)
|
Lint:
tests/unit_tests/test_node_handler.py#L296
line too long (92 > 79 characters)
|
check (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|