Skip to content

Update tests

Update tests #35

Triggered via push January 11, 2025 01:14
Status Failure
Total duration 19s
Artifacts

ruff.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PT013): tests/unit/llm_test.py#L6
tests/unit/llm_test.py:6:1: PT013 Incorrect import of `pytest`; use `import pytest` instead
Ruff (ANN201): tests/unit/llm_test.py#L16
tests/unit/llm_test.py:16:5: ANN201 Missing return type annotation for public function `test_anthropic_initialization`
Ruff (F841): tests/unit/llm_test.py#L17
tests/unit/llm_test.py:17:5: F841 Local variable `model` is assigned to but never used
Ruff (ANN201): tests/unit/llm_test.py#L24
tests/unit/llm_test.py:24:11: ANN201 Missing return type annotation for public function `test_anthropic_label`
Ruff (ANN001): tests/unit/llm_test.py#L24
tests/unit/llm_test.py:24:32: ANN001 Missing type annotation for function argument `mocker`
Ruff (S101): tests/unit/llm_test.py#L38
tests/unit/llm_test.py:38:5: S101 Use of `assert` detected
Ruff (S101): tests/unit/llm_test.py#L39
tests/unit/llm_test.py:39:5: S101 Use of `assert` detected
Ruff (ANN201): tests/unit/llm_test.py#L42
tests/unit/llm_test.py:42:5: ANN201 Missing return type annotation for public function `test_anthropic_get_cost`
Ruff (S101): tests/unit/llm_test.py#L50
tests/unit/llm_test.py:50:5: S101 Use of `assert` detected
Ruff (ANN201): tests/unit/llm_test.py#L53
tests/unit/llm_test.py:53:5: ANN201 Missing return type annotation for public function `test_anthropic_return_probs`