← Về thư mục
tests/test_llm_capabilities.py
- _clean_capability_overrides · function · L11-L14 — def _clean_capability_overrides()
- test_legacy_registry_and_immutable_provider_catalog_stay_aligned · function · L17-L32 — def test_legacy_registry_and_immutable_provider_catalog_stay_aligned()
- test_receipt_overlay_only_relaxes_with_positive_evidence · function · L35-L86 — def test_receipt_overlay_only_relaxes_with_positive_evidence()
- test_model_resolution_marks_custom_and_local_endpoints · function · L89-L110 — def test_model_resolution_marks_custom_and_local_endpoints()
- test_legacy_registry_edits_and_new_provider_are_reflected · function · L113-L142 — def test_legacy_registry_edits_and_new_provider_are_reflected(monkeypatch)
- test_exact_model_override_invalidates_cache_without_changing_provider · function · L145-L169 — def test_exact_model_override_invalidates_cache_without_changing_provider()
- test_provider_override_validation_and_request_validation · function · L172-L185 — def test_provider_override_validation_and_request_validation()
- test_chat_enforces_output_limit_before_transport · function · L188-L199 — def test_chat_enforces_output_limit_before_transport()
- test_usage_mapping_is_canonical_and_keeps_openai_aliases · function · L240-L252 — def test_usage_mapping_is_canonical_and_keeps_openai_aliases(provider, raw, expected)
- test_usage_normalization_tolerates_missing_and_invalid_counters · function · L255-L268 — def test_usage_normalization_tolerates_missing_and_invalid_counters()
- test_usage_cost_uses_only_explicit_prices_and_replaces_cache_subsets · function · L271-L297 — def test_usage_cost_uses_only_explicit_prices_and_replaces_cache_subsets()