Skip to content

Commit a46fef0

Browse files
fix test
1 parent 52aa865 commit a46fef0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration/test_prompts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import json
2+
13
from humanloop.client import Humanloop
24

35
from tests.integration.conftest import TestIdentifiers
@@ -37,6 +39,7 @@ def test_prompts_call_stream(
3739
output = ""
3840
for chunk in response:
3941
assert chunk is not None
42+
chunk = json.loads(chunk)
4043
assert chunk.output is not None
4144
assert chunk.id is not None
4245
assert chunk.prompt_id is not None

0 commit comments

Comments
 (0)