mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-12 09:12:18 +03:00
Remove references to GRAPHQL_SCHEMA in docs
This commit is contained in:
parent
99d20ff486
commit
79cb43e01f
|
@ -12,12 +12,8 @@ Usage:
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from graphene_django.utils.testing import GraphQLTestCase
|
from graphene_django.utils.testing import GraphQLTestCase
|
||||||
from my_project.config.schema import schema
|
|
||||||
|
|
||||||
class MyFancyTestCase(GraphQLTestCase):
|
class MyFancyTestCase(GraphQLTestCase):
|
||||||
# Here you need to inject your test case's schema
|
|
||||||
GRAPHQL_SCHEMA = schema
|
|
||||||
|
|
||||||
def test_some_query(self):
|
def test_some_query(self):
|
||||||
response = self.query(
|
response = self.query(
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user