diff --git a/openbb_platform/extensions/websockets/integration/test_websockets_api.py b/openbb_platform/extensions/websockets/integration/test_websockets_api.py index 047ff50f2ef..a01657cecb6 100644 --- a/openbb_platform/extensions/websockets/integration/test_websockets_api.py +++ b/openbb_platform/extensions/websockets/integration/test_websockets_api.py @@ -37,7 +37,7 @@ def headers(): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -56,7 +56,7 @@ def headers(): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -75,7 +75,7 @@ def headers(): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -196,22 +196,22 @@ def test_websockets_subscribe(params, headers): { "name": "test_fmp", "auth_token": None, - "host": None, - "port": None, + "host": "0.0.0.0", # noqa: S104 + "port": 6666, "uvicorn_kwargs": None, }, { "name": "test_tiingo", "auth_token": None, - "host": None, - "port": None, + "host": "0.0.0.0", # noqa: S104 + "port": 6667, "uvicorn_kwargs": None, }, { "name": "test_polygon", "auth_token": None, - "host": None, - "port": None, + "host": "0.0.0.0", # noqa: S104 + "port": 6668, "uvicorn_kwargs": None, }, ], diff --git a/openbb_platform/extensions/websockets/integration/test_websockets_python.py b/openbb_platform/extensions/websockets/integration/test_websockets_python.py index 5820715fa41..abd6f27740f 100644 --- a/openbb_platform/extensions/websockets/integration/test_websockets_python.py +++ b/openbb_platform/extensions/websockets/integration/test_websockets_python.py @@ -33,7 +33,7 @@ def obb(pytestconfig): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -52,7 +52,7 @@ def obb(pytestconfig): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -71,7 +71,7 @@ def obb(pytestconfig): "table_name": "records", "limit": 10, "sleep_time": 0.25, - "broadcast_host": "localhost", + "broadcast_host": "0.0.0.0", # noqa: S104 "broadcast_port": 6666, "start_broadcast": False, "connect_kwargs": None, @@ -186,21 +186,21 @@ def test_websockets_subscribe(params, obb): { "name": "test_fmp", "auth_token": None, - "host": None, + "host": "0.0.0.0", # noqa: S104 "port": None, "uvicorn_kwargs": None, }, { "name": "test_tiingo", "auth_token": None, - "host": None, + "host": "0.0.0.0", # noqa: S104 "port": None, "uvicorn_kwargs": None, }, { "name": "test_polygon", "auth_token": None, - "host": None, + "host": "0.0.0.0", # noqa: S104 "port": None, "uvicorn_kwargs": None, },