mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Merge pull request #40838 from BerriAI/litellm_fix_ocr_native_vcr
test(ocr): exempt native parity requests from cassette replay
This commit is contained in:
commit
e88ba94da5
1 changed files with 7 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
# Vertex AI OCR) are replayed for 24h. See tests/llm_translation/Readme.md
|
||||
# for the design overview.
|
||||
|
||||
from typing import Final
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
@ -23,7 +24,12 @@ from tests._vcr_conftest_common import ( # noqa: E402,F401
|
|||
vcr_config_dict,
|
||||
)
|
||||
|
||||
_VCR_INCOMPATIBLE_NODEID_SUFFIXES: tuple[str, ...] = ()
|
||||
_VCR_INCOMPATIBLE_NODEID_SUFFIXES: Final[tuple[str, ...]] = (
|
||||
"test_rust_bridge.py::test_native_public_ocr_matches_python[mistral/mistral-ocr-latest-False]",
|
||||
"test_rust_bridge.py::test_native_public_ocr_matches_python[mistral/mistral-ocr-latest-True]",
|
||||
"test_rust_bridge.py::test_native_public_ocr_matches_python[azure_ai/doc-intelligence/prebuilt-read-False]",
|
||||
"test_rust_bridge.py::test_native_public_ocr_matches_python[azure_ai/doc-intelligence/prebuilt-read-True]",
|
||||
)
|
||||
|
||||
_verbose_state = VerboseReporterState()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue