Fix missing colon in function definition (#1030)

This commit is contained in:
Varun Dey 2020-08-26 14:57:53 +00:00 committed by GitHub
parent ac1f9ac360
commit 6ce208db95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ To use pytest define a simple fixture using the query helper below
from graphene_django.utils.testing import graphql_query
@pytest.fixture
def client_query(client)
def client_query(client):
def func(*args, **kwargs):
return graphql_query(*args, **kwargs, client=client)
@ -115,4 +115,4 @@ To use pytest define a simple fixture using the query helper below
)
content = json.loads(response.content)
assert 'errors' not in content
assert 'errors' not in content