          expected_data = [f for f in self.data if f['date'] > search_date and
                                                    f['decimal'] < search_decimal]
          self.assertEquals(response.data, expected_data)
  
      def test_incorrectly_configured_filter(self):
          """
          An error should be displayed when the filter class is misconfigured.
          """
          view = IncorrectlyConfiguredRootView.as_view()
  
 
</s> remove         expected_data = [ f for f in self.data if f['date'] > search_date and
                                                  f['decimal'] < search_decimal ]
 </s> add         expected_data = [f for f in self.data if f['date'] > search_date and
                                                  f['decimal'] < search_decimal] </s> remove         expected_data = [ f for f in self.data if f['decimal'] < search_decimal ]
 </s> add         expected_data = [f for f in self.data if f['decimal'] < search_decimal] </s> remove         expected_data = [ f for f in self.data if f['date'] > search_date ]
 </s> add         expected_data = [f for f in self.data if f['date'] > search_date] </s> remove         expected_data = [ f for f in self.data if f['decimal'] == search_decimal ]
 </s> add         expected_data = [f for f in self.data if f['decimal'] == search_decimal] </s> remove         expected_data = [ f for f in self.data if f['date'] == search_date ]
 </s> add         expected_data = [f for f in self.data if f['date'] == search_date]
    @unittest.skipUnless(django_filters, 'django-filters not installed')
          expected_data = [f for f in self.data if f['date'] > search_date and
                                                    f['decimal'] < search_decimal]
          self.assertEquals(response.data, expected_data)
  
    @unittest.skipUnless(django_filters, 'django-filters not installed')
      def test_incorrectly_configured_filter(self):
          """
          An error should be displayed when the filter class is misconfigured.
          """
          view = IncorrectlyConfiguredRootView.as_view()
  
keep keep keep add keep keep keep keep keep keep
 Make filtering optional, and pluggable. 
rest_framework/tests/filterset.py