From e270792674e3c016d1de066945b538da86d478c5 Mon Sep 17 00:00:00 2001 From: Adam Charnock Date: Thu, 3 Dec 2015 11:42:08 +0000 Subject: [PATCH] No need to create a Schema in test_fields.py --- graphene/contrib/django/tests/test_fields.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/graphene/contrib/django/tests/test_fields.py b/graphene/contrib/django/tests/test_fields.py index b765c04c..0305d6f5 100644 --- a/graphene/contrib/django/tests/test_fields.py +++ b/graphene/contrib/django/tests/test_fields.py @@ -1,21 +1,14 @@ -from graphene import Schema from graphene.contrib.django import DjangoFilterConnectionField, DjangoNode from graphene.contrib.django.tests.filters import ArticleFilter, PetFilter from graphene.contrib.django.tests.models import Article, Pet -schema = Schema() - -@schema.register class ArticleNode(DjangoNode): - class Meta: model = Article -@schema.register class PetNode(DjangoNode): - class Meta: model = Pet