diff --git a/docs/testing.rst b/docs/testing.rst index 23acef2..3628d70 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -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 \ No newline at end of file + assert 'errors' not in content