init commit
This commit is contained in:
10
search_server/test_search_web.py
Normal file
10
search_server/test_search_web.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import asyncio
|
||||
from search import search_web
|
||||
|
||||
async def test_search_web_output():
|
||||
query = "曼联最新的英超排名是多少"
|
||||
result = await search_web(query)
|
||||
print("搜索结果输出:\n", result)
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(test_search_web_output())
|
Reference in New Issue
Block a user