aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_filters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_filters.py b/tests/test_filters.py
index dc84dcbd..5b1b6ca5 100644
--- a/tests/test_filters.py
+++ b/tests/test_filters.py
@@ -467,6 +467,7 @@ class DjangoFilterOrderingTests(TestCase):
for d in data:
DjangoFilterOrderingModel.objects.create(**d)
+ @unittest.skipUnless(django_filters, 'django-filter not installed')
def test_default_ordering(self):
class DjangoFilterOrderingView(generics.ListAPIView):
serializer_class = DjangoFilterOrderingSerializer