@@ -168,6 +168,7 @@ async def test_ask_rtr_text(client, snapshot):
168
168
result = await response .get_json ()
169
169
snapshot .assert_match (json .dumps (result , indent = 4 ), "result.json" )
170
170
171
+
171
172
@pytest .mark .asyncio
172
173
async def test_ask_rtr_text_agent (agent_client , snapshot ):
173
174
response = await agent_client .post (
@@ -209,6 +210,7 @@ async def test_ask_rtr_text_filter(auth_client, snapshot):
209
210
result = await response .get_json ()
210
211
snapshot .assert_match (json .dumps (result , indent = 4 ), "result.json" )
211
212
213
+
212
214
@pytest .mark .asyncio
213
215
async def test_ask_rtr_text_agent_filter (agent_auth_client , snapshot ):
214
216
response = await agent_auth_client .post (
@@ -504,6 +506,7 @@ async def test_chat_text(client, snapshot):
504
506
assert result ["context" ]["thoughts" ][1 ]["props" ]["use_semantic_ranker" ] is False
505
507
snapshot .assert_match (json .dumps (result , indent = 4 ), "result.json" )
506
508
509
+
507
510
@pytest .mark .asyncio
508
511
async def test_chat_text_agent (agent_client , snapshot ):
509
512
response = await agent_client .post (
@@ -547,6 +550,7 @@ async def test_chat_text_filter(auth_client, snapshot):
547
550
result = await response .get_json ()
548
551
snapshot .assert_match (json .dumps (result , indent = 4 ), "result.json" )
549
552
553
+
550
554
@pytest .mark .asyncio
551
555
async def test_chat_text_filter_agent (agent_auth_client , snapshot ):
552
556
response = await agent_auth_client .post (
0 commit comments