litellm/tests/test_rust_python_harness.py
devin-ai-integration[bot] d5173e3d70
test: move 76 live top-level tests to offline unit and integration coverage (#45352)
* test: move 76 live top-level tests to offline unit and integration coverage

* test: keep the mock-param opt-in guard valid once the top-level senders are gone

* test: address review on offline replacements

* docs(test): drop the deleted harness test file from the harness check command

* test: make the key rebind, team member delete and routes integration tests exercise the legacy paths

* test: make fallback, rpm and spend integration contracts deterministic and clean up their rows, assert the rpm limit in usage-based routing

* test: expect the no-deployments error at the rpm limit and cover the strategy check without pre-call checks

* test: hand member cleanups to the scenario instead of growing a budget list, flatten callback kinds

* test: scope the admin health check to the test's own deployment

---------

Co-authored-by: yuneng <yuneng@berri.ai>
2026-10-08 10:33:35 -07:00

11 lines
338 B
Python

from __future__ import annotations
import importlib
contracts = importlib.import_module("tests.rust-python-harness.shared.unit_runners.contracts")
UNIT_TEST_CONTRACTS = contracts.UNIT_TEST_CONTRACTS
def test_should_leave_functions_without_unit_test_contracts_unimplemented() -> None:
assert "messages" not in UNIT_TEST_CONTRACTS