mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
test: use injected backend websocket
This commit is contained in:
parent
3fa5e26e7e
commit
03d4e5d3e5
1 changed files with 1 additions and 2 deletions
|
|
@ -972,11 +972,10 @@ async def test_provider_path_completed_event_without_guardrails_skips_response_c
|
|||
provider_config=provider_config,
|
||||
model="gemini-2.5-flash",
|
||||
)
|
||||
streaming._send_to_backend = AsyncMock() # type: ignore[method-assign]
|
||||
|
||||
await streaming._handle_provider_config_message("{}")
|
||||
|
||||
assert streaming._send_to_backend.await_count == 0
|
||||
assert backend_ws.send.await_count == 0
|
||||
|
||||
|
||||
def test_client_session_update_marks_transcription_session():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue