Skip to content

Commit 2008261

Browse files
committed
Skip test for Starlite
1 parent 61aa60e commit 2008261

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/websockets/test_graphql_transport_ws.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@
3030
from tests.http.clients import AioHttpClient, ChannelsHttpClient
3131
from tests.http.clients.base import DebuggableGraphQLTransportWSMixin
3232

33-
from ..http.clients import FastAPIHttpClient, HttpClient, WebSocketClient
33+
from ..http.clients import (
34+
FastAPIHttpClient,
35+
HttpClient,
36+
StarliteHttpClient,
37+
WebSocketClient,
38+
)
3439

3540

3641
@pytest_asyncio.fixture
@@ -1011,8 +1016,8 @@ async def test_long_custom_context(
10111016
"""
10121017
Test that the websocket is not blocked evaluating the context
10131018
"""
1014-
if http_client_class is FastAPIHttpClient:
1015-
pytest.skip("FastAPI evaluates the context only once per connection")
1019+
if http_client_class in (FastAPIHttpClient, StarliteHttpClient):
1020+
pytest.skip("Client evaluates the context only once per connection")
10161021

10171022
counter = 0
10181023

0 commit comments

Comments
 (0)