Skip to content

35: Had to show an example of using mocks in a unittest. Thought to m… #75

35: Had to show an example of using mocks in a unittest. Thought to m…

35: Had to show an example of using mocks in a unittest. Thought to m… #75

ci.yml

on: push
Matrix: Setup
Matrix: Integration Test
Matrix: Lint
Matrix: Test
Matrix: Typecheck
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
Typecheck (3.11): unit_test/test_main.py#L191
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
Typecheck (3.11): unit_test/test_main.py#L197
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
Typecheck (3.11): unit_test/test_main.py#L251
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
Typecheck (3.11): unit_test/test_main.py#L257
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
Typecheck (3.11): unit_test/test_main.py#L305
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
Typecheck (3.11): unit_test/test_main.py#L311
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
Typecheck (3.11): unit_test/test_main.py#L354
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
Typecheck (3.11): unit_test/test_main.py#L360
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
Typecheck (3.11)
Process completed with exit code 1.
Setup (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Typecheck (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration Test (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
Linux-python-3.11-venv-8968952080 Expired
40 MB