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: