diff --git a/graphene_django/tests/test_auth.py b/graphene_django/tests/test_auth.py index 65da856..34a718c 100644 --- a/graphene_django/tests/test_auth.py +++ b/graphene_django/tests/test_auth.py @@ -102,7 +102,8 @@ if DJANGO_FILTER_INSTALLED: class QueryRoot(ObjectType): pet = relay.Node.Field(PetNode) - pets = PetFilterConnection(PetNode) + if DJANGO_FILTER_INSTALLED: + pets = PetFilterConnection(PetNode) class MutationRoot(ObjectType):