From a77030b2988a1cc466bda385bdd7c41f37270097 Mon Sep 17 00:00:00 2001 From: Taddes Date: Fri, 19 Apr 2024 15:12:33 -0400 Subject: [PATCH] update ip and return value of connection call --- tests/integration/test_integration_all_rust.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_integration_all_rust.py b/tests/integration/test_integration_all_rust.py index 5b85ade0c..85f6ff761 100644 --- a/tests/integration/test_integration_all_rust.py +++ b/tests/integration/test_integration_all_rust.py @@ -426,7 +426,7 @@ def setup_mock_server(): global MOCK_SERVER_THREAD MOCK_SERVER_THREAD = Thread( - target=run_fastapi_app, kwargs=dict(host="localhost", port=MOCK_SERVER_PORT) + target=run_fastapi_app, kwargs=dict(host="127.0.0.1", port=MOCK_SERVER_PORT) ) MOCK_SERVER_THREAD.daemon = True MOCK_SERVER_THREAD.start() @@ -1419,7 +1419,7 @@ async def quick_register(self, connection_port=None): await client.connect() await client.hello() await client.register() - returnValue(client) + return client @pytest.mark.asyncio async def shut_down(self, client=None):