          search_date = datetime.date(2012, 9, 22)
          request = factory.get('/?date=%s' % search_date)  # search_date str: '2012-09-22'
          response = view(request).render()
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          expected_data = [f for f in self.data if f['date'] == search_date]
          self.assertEqual(response.data, expected_data)
  
      @unittest.skipUnless(django_filters, 'django-filters not installed')
      def test_get_filtered_class_root_view(self):
          """
 
</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 datetime.datetime.strptime(f['date'], '%Y-%m-%d').date() > search_date] </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
                         datetime.datetime.strptime(f['date'], '%Y-%m-%d').date() > search_date and
                         f['decimal'] < search_decimal] </s> remove         {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date}
        for obj in self.objects.all()
 </s> add             {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date.isoformat()}
            for obj in self.objects.all() </s> remove         {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date}
        for obj in self.objects.all()
 </s> add             {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date.isoformat()}
            for obj in self.objects.all()
        expected_data = [f for f in self.data if datetime.datetime.strptime(f['date'], '%Y-%m-%d').date() == search_date]
          search_date = datetime.date(2012, 9, 22)
          request = factory.get('/?date=%s' % search_date)  # search_date str: '2012-09-22'
          response = view(request).render()
          self.assertEqual(response.status_code, status.HTTP_200_OK)
        expected_data = [f for f in self.data if datetime.datetime.strptime(f['date'], '%Y-%m-%d').date() == search_date]
          self.assertEqual(response.data, expected_data)
  
      @unittest.skipUnless(django_filters, 'django-filters not installed')
      def test_get_filtered_class_root_view(self):
          """
keep keep keep keep replace keep keep keep keep keep
 Add drf settings + output format + testcases 
rest_framework/tests/filterset.py