This commit is contained in:
leehk 2025-04-18 09:15:49 +08:00
parent f77d704a57
commit 730ea3d12b

View File

@ -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: