mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix: restore missing imports after removing sys.path.insert
When removing the fragile sys.path.insert, I accidentally removed the import statements as well. This caused import errors in CI. Restored the proper imports: - from unittest.mock import MagicMock, patch - import httpx - import pytest Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8980b77d4d
commit
27e7131c84
1 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,11 @@
|
|||
Unit tests for Responses API cost calculation functionality.
|
||||
Tests the fix for issue #26475 - ensuring cost calculation works correctly
|
||||
across all 60+ providers inheriting from OpenAIResponsesAPIConfig.
|
||||
"""
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
from litellm.llms.openai.responses.transformation import OpenAIResponsesAPIConfig
|
||||
from litellm.types.llms.openai import (
|
||||
|
|
@ -11,7 +16,6 @@ from litellm.types.llms.openai import (
|
|||
)
|
||||
from litellm.types.utils import LlmProviders
|
||||
|
||||
|
||||
class TestResponsesAPICostCalculation:
|
||||
"""Test suite for Responses API cost calculation across transformation paths"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue