mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 08:13:20 +08:00
update
This commit is contained in:
parent
f77d704a57
commit
730ea3d12b
@ -6,7 +6,7 @@ import websockets
|
|||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
async def test_chatbot_integration():
|
async def test_chatbot_integration():
|
||||||
# Send a request to the chatbot endpoint
|
# Send a request to the chatbot endpoint
|
||||||
url = "ws://backend-aimingmedai:80/ws"
|
url = "ws://localhost:8004/ws"
|
||||||
data = [{"content": "Hello"}]
|
data = [{"content": "Hello"}]
|
||||||
try:
|
try:
|
||||||
async with websockets.connect(url) as websocket:
|
async with websockets.connect(url) as websocket:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user