Skip to content

Commit 335339c

Browse files
committed
Fixed Django 1.8 issue
1 parent 28db2c0 commit 335339c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/tests/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from graphene.relay import Node
1010

1111
from ..utils import DJANGO_FILTER_INSTALLED
12-
from ..compat import MissingType, RangeField
12+
from ..compat import MissingType, JSONField
1313
from ..fields import DjangoConnectionField
1414
from ..types import DjangoObjectType
1515
from .models import Article, Reporter
@@ -100,7 +100,7 @@ def resolve_reporter(self, *args, **kwargs):
100100
assert result.data == expected
101101

102102

103-
@pytest.mark.skipif(RangeField is MissingType,
103+
@pytest.mark.skipif(JSONField is MissingType,
104104
reason="RangeField should exist")
105105
def test_should_query_postgres_fields():
106106
from django.contrib.postgres.fields import IntegerRangeField, ArrayField, JSONField, HStoreField

0 commit comments

Comments
 (0)