Skip to content

Commit

Permalink
Skip test for Starlite
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjanvalur committed Jun 8, 2023
1 parent 61aa60e commit 2008261
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/websockets/test_graphql_transport_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
from tests.http.clients import AioHttpClient, ChannelsHttpClient
from tests.http.clients.base import DebuggableGraphQLTransportWSMixin

from ..http.clients import FastAPIHttpClient, HttpClient, WebSocketClient
from ..http.clients import (
FastAPIHttpClient,
HttpClient,
StarliteHttpClient,
WebSocketClient,
)


@pytest_asyncio.fixture
Expand Down Expand Up @@ -1011,8 +1016,8 @@ async def test_long_custom_context(
"""
Test that the websocket is not blocked evaluating the context
"""
if http_client_class is FastAPIHttpClient:
pytest.skip("FastAPI evaluates the context only once per connection")
if http_client_class in (FastAPIHttpClient, StarliteHttpClient):
pytest.skip("Client evaluates the context only once per connection")

counter = 0

Expand Down

0 comments on commit 2008261

Please sign in to comment.