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):