File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ async def test_simple_chat_streaming_flow(test_client, snapshot):
140140 response_data = response .content
141141 assert response .status_code == 200
142142 assert response .headers ["Content-Type" ] == "application/x-ndjson"
143- snapshot .assert_match (response_data , "simple_chat_streaming_flow_response.txt " )
143+ snapshot .assert_match (response_data , "simple_chat_streaming_flow_response.jsonlines " )
144144
145145
146146@pytest .mark .asyncio
@@ -163,7 +163,7 @@ async def test_advanced_chat_flow(test_client, snapshot):
163163
164164
165165@pytest .mark .asyncio
166- async def test_advanved_chat_streaming_flow (test_client , snapshot ):
166+ async def test_advanced_chat_streaming_flow (test_client , snapshot ):
167167 """test the advanced chat streaming flow route with hybrid retrieval mode"""
168168 response = test_client .post (
169169 "/chat/stream" ,
@@ -177,7 +177,7 @@ async def test_advanved_chat_streaming_flow(test_client, snapshot):
177177 response_data = response .content
178178 assert response .status_code == 200
179179 assert response .headers ["Content-Type" ] == "application/x-ndjson"
180- snapshot .assert_match (response_data , "advanced_chat_streaming_flow_response.txt " )
180+ snapshot .assert_match (response_data , "advanced_chat_streaming_flow_response.jsonlines " )
181181
182182
183183@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments