mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 11:33:55 +03:00
Moved django filter tests
This commit is contained in:
parent
8eaa2cfc49
commit
c7026329d3
|
@ -13,7 +13,7 @@ if DJANGO_FILTER_INSTALLED:
|
|||
import django_filters
|
||||
from graphene.contrib.django.filter import (GlobalIDFilter, DjangoFilterConnectionField,
|
||||
GlobalIDMultipleChoiceFilter)
|
||||
from graphene.contrib.django.tests.filter.filters import ArticleFilter, PetFilter
|
||||
from graphene.contrib.django.filter.tests.filters import ArticleFilter, PetFilter
|
||||
else:
|
||||
pytestmark.append(pytest.mark.skipif(True, reason='django_filters not installed'))
|
||||
|
|
@ -8,7 +8,7 @@ from graphene.contrib.django.utils import DJANGO_FILTER_INSTALLED
|
|||
|
||||
if DJANGO_FILTER_INSTALLED:
|
||||
from graphene.contrib.django.filter.resolvers import FilterConnectionResolver
|
||||
from graphene.contrib.django.tests.filter.filters import ReporterFilter, ArticleFilter
|
||||
from graphene.contrib.django.filter.tests.filters import ArticleFilter, ReporterFilter
|
||||
else:
|
||||
pytestmark = pytest.mark.skipif(True, reason='django_filters not installed')
|
||||
|
Loading…
Reference in New Issue
Block a user