@@ -97,6 +97,7 @@ async def test_heavy_load(gql, sync_resolvers, requests_number, subprotocol):
97
97
"""
98
98
99
99
# Name of GraphQL Query used in this test.
100
+ query = ""
100
101
if sync_resolvers == "sync" :
101
102
query = "fast_op_sync"
102
103
elif sync_resolvers == "async" :
@@ -166,6 +167,8 @@ async def test_unsubscribe_one_of_many_subscriptions(gql, sync_resolvers, subpro
166
167
"""
167
168
168
169
# Names of GraphQL mutation and subscription used in this test.
170
+ subscription = ""
171
+ mutation = ""
169
172
if sync_resolvers == "sync" :
170
173
mutation = "send_chat_message_sync"
171
174
subscription = "on_chat_message_sent_sync"
@@ -273,6 +276,8 @@ async def test_subscribe_and_many_unsubscribes(
273
276
"""
274
277
275
278
# Names of GraphQL mutation and subscription used in this test.
279
+ subscription = ""
280
+ mutation = ""
276
281
if sync_resolvers == "sync" :
277
282
mutation = "send_chat_message_sync"
278
283
subscription = "on_chat_message_sent_sync"
@@ -445,6 +450,7 @@ async def test_message_order_in_subscribe_unsubscribe_loop(
445
450
TIME_LIMIT_SECS = 16 # pylint: disable=invalid-name
446
451
447
452
# Names of GraphQL mutation and subscription used in this test.
453
+ subscription = ""
448
454
if sync_resolvers == "sync" :
449
455
subscription = "on_chat_message_sent_sync"
450
456
elif sync_resolvers == "async" :
@@ -549,6 +555,8 @@ async def test_message_order_in_broadcast_unsubscribe_loop(
549
555
NOTHING_RECEIVED_TIMEOUT = 1 # pylint: disable=invalid-name
550
556
551
557
# Names of GraphQL mutation and subscription used in this test.
558
+ subscription = ""
559
+ mutation = ""
552
560
if sync_resolvers == "sync" :
553
561
mutation = "send_chat_message_sync"
554
562
subscription = "on_chat_message_sent_sync"
@@ -709,6 +717,7 @@ async def test_message_order_in_subscribe_unsubscribe_all_loop(
709
717
TIME_BORDER = 20 # pylint: disable=invalid-name
710
718
711
719
# Name of GraphQL subscription used in this test.
720
+ subscription = ""
712
721
if sync_resolvers == "sync" :
713
722
subscription = "on_chat_message_sent_sync"
714
723
elif sync_resolvers == "async" :
0 commit comments