Skip to content

Commit 76eeea4

Browse files
committed
Update tests for queries
1 parent e9d5e88 commit 76eeea4

File tree

2 files changed

+162
-11
lines changed

2 files changed

+162
-11
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from asgiref.sync import async_to_sync
22

33

4-
def assert_async_result_equal(schema, query, result):
5-
async_result = async_to_sync(schema.execute_async)(query)
4+
def assert_async_result_equal(schema, query, result, **kwargs):
5+
async_result = async_to_sync(schema.execute_async)(query, **kwargs)
66
assert async_result == result

0 commit comments

Comments
 (0)