mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-10 19:57:15 +03:00
Fix missing colon in function definition (#1030)
This commit is contained in:
parent
ac1f9ac360
commit
6ce208db95
|
@ -94,7 +94,7 @@ To use pytest define a simple fixture using the query helper below
|
||||||
from graphene_django.utils.testing import graphql_query
|
from graphene_django.utils.testing import graphql_query
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def client_query(client)
|
def client_query(client):
|
||||||
def func(*args, **kwargs):
|
def func(*args, **kwargs):
|
||||||
return graphql_query(*args, **kwargs, client=client)
|
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)
|
content = json.loads(response.content)
|
||||||
assert 'errors' not in content
|
assert 'errors' not in content
|
||||||
|
|
Loading…
Reference in New Issue
Block a user