Fix testing doc

This commit is contained in:
Semyon Pupkov 2020-08-16 17:37:42 +05:00
parent 5b1451132d
commit 6138d85104

View File

@ -102,7 +102,7 @@ To use pytest define a simple fixture using the query helper below
# Test you query using the client_query fixture
def test_some_query(client_query):
response = graphql_query(
response = client_query(
'''
query {
myModel {
@ -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