From 6138d85104a4d4a264d5912b4797919585dec2d6 Mon Sep 17 00:00:00 2001 From: Semyon Pupkov Date: Sun, 16 Aug 2020 17:37:42 +0500 Subject: [PATCH] Fix testing doc --- docs/testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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