From 99d20ff48681538175602e361b5af2f73d5e55f6 Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Fri, 31 Jul 2020 15:36:17 +0200 Subject: [PATCH] Remove unused GRAPHQL_SCHEMA related code --- graphene_django/utils/testing.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/graphene_django/utils/testing.py b/graphene_django/utils/testing.py index 3783c35..6b2d3e8 100644 --- a/graphene_django/utils/testing.py +++ b/graphene_django/utils/testing.py @@ -67,18 +67,11 @@ class GraphQLTestCase(TestCase): # URL to graphql endpoint GRAPHQL_URL = DEFAULT_GRAPHQL_URL - # Here you need to set your graphql schema for the tests - GRAPHQL_SCHEMA = None @classmethod def setUpClass(cls): super(GraphQLTestCase, cls).setUpClass() - if not cls.GRAPHQL_SCHEMA: - raise AttributeError( - "Variable GRAPHQL_SCHEMA not defined in GraphQLTestCase." - ) - cls._client = Client() def query(self, query, op_name=None, input_data=None, variables=None, headers=None):