Revert import order change in test_fields.py

This commit is contained in:
NateScarlet 2019-06-12 23:24:39 +08:00
parent e4f9bbea96
commit 0deb67a5be
No known key found for this signature in database
GPG Key ID: 5C242793B070309C

View File

@ -1,9 +1,7 @@
from datetime import datetime from datetime import datetime
import pytest import pytest
# for annotation test
from django.db.models import TextField, Value
from django.db.models.functions import Concat
from graphene import (Argument, Boolean, Field, Float, ObjectType, Schema, from graphene import (Argument, Boolean, Field, Float, ObjectType, Schema,
String) String)
from graphene.relay import Node from graphene.relay import Node
@ -14,6 +12,10 @@ from graphene_django.forms import (GlobalIDFormField,
from graphene_django.tests.models import Article, Pet, Reporter from graphene_django.tests.models import Article, Pet, Reporter
from graphene_django.utils import DJANGO_FILTER_INSTALLED from graphene_django.utils import DJANGO_FILTER_INSTALLED
# for annotation test
from django.db.models import TextField, Value
from django.db.models.functions import Concat
pytestmark = [] pytestmark = []
if DJANGO_FILTER_INSTALLED: if DJANGO_FILTER_INSTALLED: