mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
test(responses): restore patch import lost in cleanup
I found test_acompletion_bridge_normalizes_stream_options_on_the_wire failing with NameError: name 'patch' is not defined. An earlier unused-imports cleanup on this branch dropped patch from the unittest.mock import line even though two tests still call patch.object(...). I added patch back, plus MagicMock and the httpx import that the same tests need, and left ANY out since nothing in the file uses it anymore. All 71 tests in this file pass again.
This commit is contained in:
parent
8d9f30b63e
commit
d7b2e0ca19
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import unittest
|
|||
from typing import TYPE_CHECKING, Final, List, Literal, Optional, Tuple, get_args
|
||||
from unittest.mock import ANY, MagicMock, Mock, patch
|
||||
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
import litellm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue