aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTom Christie2015-01-23 11:49:57 +0000
committerTom Christie2015-01-23 11:49:57 +0000
commit4cb164b66c0784ce79054925d4744deb5b18d8b2 (patch)
treebba957ffc43dbe44916594b472e3460f3f63a505 /tests
parente988d578535fcc820d30dc7c59f1e24f5c911d3c (diff)
downloaddjango-rest-framework-4cb164b66c0784ce79054925d4744deb5b18d8b2.tar.bz2
Add missing skipUnless(django_filters)
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