From 6f4cf3c2ab13be72ebd7cbb861eaf99299aca53e Mon Sep 17 00:00:00 2001 From: Carlos Martinez Date: Tue, 28 Mar 2017 20:08:34 -0500 Subject: [PATCH] Fix issue auth tests --- graphene_django/tests/test_auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):