From f77d704a5778b67cfa68e17318abc5dca390da68 Mon Sep 17 00:00:00 2001 From: leehk Date: Fri, 18 Apr 2025 08:14:20 +0800 Subject: [PATCH] test update --- app/tests/tests/integration/backend/test_frontend_backend.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/tests/tests/integration/backend/test_frontend_backend.py b/app/tests/tests/integration/backend/test_frontend_backend.py index 964e3d0..fe62d3e 100644 --- a/app/tests/tests/integration/backend/test_frontend_backend.py +++ b/app/tests/tests/integration/backend/test_frontend_backend.py @@ -1,15 +1,12 @@ import pytest import json import websockets -import os -backend_host = os.getenv("BACKEND_URL", "backend-aimingmedai") - @pytest.mark.asyncio async def test_chatbot_integration(): # Send a request to the chatbot endpoint - url = f"ws://{backend_host}:80/ws" + url = "ws://backend-aimingmedai:80/ws" data = [{"content": "Hello"}] try: async with websockets.connect(url) as websocket: