mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
test_bedrock_streaming_passthrough_test2
This commit is contained in:
parent
8ba0715141
commit
d3ca8cbafa
1 changed files with 4 additions and 4 deletions
|
|
@ -3308,7 +3308,7 @@ async def test_bedrock_converse__streaming_passthrough(monkeypatch):
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_bedrock_streaming_passthrough(monkeypatch):
|
||||
async def test_bedrock_streaming_passthrough_test2(monkeypatch):
|
||||
import litellm
|
||||
import time
|
||||
import asyncio
|
||||
|
|
@ -3350,7 +3350,7 @@ async def test_bedrock_streaming_passthrough(monkeypatch):
|
|||
async for chunk in response:
|
||||
print(chunk)
|
||||
|
||||
await asyncio.sleep(1)
|
||||
await asyncio.sleep(5)
|
||||
|
||||
mock_callback.assert_called_once()
|
||||
# check standard logging payload created
|
||||
|
|
@ -3360,7 +3360,7 @@ async def test_bedrock_streaming_passthrough(monkeypatch):
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_bedrock_streaming_passthrough(monkeypatch):
|
||||
async def test_bedrock_streaming_passthrough_test1(monkeypatch):
|
||||
import litellm
|
||||
import time
|
||||
import asyncio
|
||||
|
|
@ -3402,7 +3402,7 @@ async def test_bedrock_streaming_passthrough(monkeypatch):
|
|||
async for chunk in response:
|
||||
print(chunk)
|
||||
|
||||
await asyncio.sleep(1)
|
||||
await asyncio.sleep(5)
|
||||
|
||||
mock_callback.assert_called_once()
|
||||
# check standard logging payload created
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue