diff --git a/openbb_platform/extensions/websockets/integration/test_websockets_api.py b/openbb_platform/extensions/websockets/integration/test_websockets_api.py index 6d2c15c4b9d..965a7ef6141 100644 --- a/openbb_platform/extensions/websockets/integration/test_websockets_api.py +++ b/openbb_platform/extensions/websockets/integration/test_websockets_api.py @@ -305,6 +305,35 @@ def test_websockets_unsubscribe(params, headers): assert result.status_code == 200 +@parametrize( + "params", + [ + { + "name": "test_fmp", + }, + { + "name": "test_tiingo", + }, + { + "name": "test_polygon", + }, + { + "name": "test_intrinio", + }, + ], +) +@pytest.mark.integration +def test_websockets_get_client_status(params, headers): + """Test the websockets_get_client_status endpoint.""" + params = {p: v for p, v in params.items() if v} + + query_str = get_querystring(params, []) + url = f"http://0.0.0.0:8000/api/v1/websockets/get_client?{query_str}" + result = requests.get(url, headers=headers, timeout=10) + assert isinstance(result, requests.Response) + assert result.status_code == 200 + + @parametrize( "params", [ diff --git a/openbb_platform/extensions/websockets/integration/test_websockets_python.py b/openbb_platform/extensions/websockets/integration/test_websockets_python.py index 9521070b061..211f5520229 100644 --- a/openbb_platform/extensions/websockets/integration/test_websockets_python.py +++ b/openbb_platform/extensions/websockets/integration/test_websockets_python.py @@ -326,19 +326,15 @@ def test_websockets_get_client(params, obb): [ { "name": "test_fmp", - "auth_token": None, }, { "name": "test_tiingo", - "auth_token": None, }, { "name": "test_polygon", - "auth_token": None, }, { "name": "test_intrinio", - "auth_token": None, }, ], )