mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
[Fix] Tests: Move Misplaced Import in Lazy OpenAPI Snapshot Test
The GitHub merge conflict resolver concatenated both test sets but left `from litellm.proxy._lazy_openapi_snapshot import _normalize_operation_ids` stranded between functions instead of at the top of the file.
This commit is contained in:
parent
2fca7ad3ef
commit
4825d94a9d
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import sys
|
||||
from types import ModuleType, SimpleNamespace
|
||||
|
||||
from litellm.proxy._lazy_openapi_snapshot import _normalize_operation_ids
|
||||
|
||||
|
||||
def test_generate_snapshot_uses_shared_operation_id_reservations(monkeypatch):
|
||||
from litellm.proxy import _lazy_openapi_snapshot
|
||||
|
|
@ -80,7 +82,6 @@ def test_generate_snapshot_uses_shared_operation_id_reservations(monkeypatch):
|
|||
assert fragments["feature-b"]["paths"]["/feature-b/items"]["get"]["tags"] == [
|
||||
"feature-b"
|
||||
]
|
||||
from litellm.proxy._lazy_openapi_snapshot import _normalize_operation_ids
|
||||
|
||||
|
||||
def test_normalize_operation_ids_uses_each_http_method():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue