mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-16 15:12:06 +03:00
Fix testing doc
This commit is contained in:
parent
5b1451132d
commit
6138d85104
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user