File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 30
30
from tests .http .clients import AioHttpClient , ChannelsHttpClient
31
31
from tests .http .clients .base import DebuggableGraphQLTransportWSMixin
32
32
33
- from ..http .clients import FastAPIHttpClient , HttpClient , WebSocketClient
33
+ from ..http .clients import (
34
+ FastAPIHttpClient ,
35
+ HttpClient ,
36
+ StarliteHttpClient ,
37
+ WebSocketClient ,
38
+ )
34
39
35
40
36
41
@pytest_asyncio .fixture
@@ -1011,8 +1016,8 @@ async def test_long_custom_context(
1011
1016
"""
1012
1017
Test that the websocket is not blocked evaluating the context
1013
1018
"""
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" )
1016
1021
1017
1022
counter = 0
1018
1023
You can’t perform that action at this time.
0 commit comments