Update deprecation test

This commit is contained in:
Tom Christie 2017-03-09 12:43:40 +00:00
parent 6d3114ef5c
commit 97e14d03f7

View File

@ -181,7 +181,7 @@ class IntegrationTestFiltering(CommonFilteringTestCase):
assert response.data == self.data
self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
self.assertIn("'rest_framework.filters.DjangoFilterBackend' is pending deprecation.", str(w[-1].message))
self.assertIn("'rest_framework.filters.DjangoFilterBackend' is deprecated.", str(w[-1].message))
@unittest.skipUnless(django_filters, 'django-filter not installed')
def test_no_df_deprecation(self):