          search_date = datetime.date(2012, 10, 2)
          request = factory.get('/?date=%s' % search_date)  # search_date str: '2012-10-02'
          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)
  
          # Tests that the text filter set with 'icontains' in the filter class works.
          search_text = 'ff'
          request = factory.get('/?text=%s' % search_text)
 
</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     def test_valid_custom_date_time_input_formats(self):
        serializer = DateTimeObjectCustomFormatSerializer(data={'date_time': '1984'})
        self.assertTrue(serializer.is_valid())
 </s> add class DateTimeFieldTest(TestCase):
    """
    Tests for the DateTimeField from_native() and to_native() behavior
    """ </s> remove     def test_from_native(self):
 </s> add class TimeFieldTest(TestCase):
    """
    Tests for the TimeField from_native() and to_native() behavior
    """

    def test_from_native_string(self):
        """
        Make sure from_native() accepts default iso input formats.
        """
        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, 10, 2)
          request = factory.get('/?date=%s' % search_date)  # search_date str: '2012-10-02'
          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)
  
          # Tests that the text filter set with 'icontains' in the filter class works.
          search_text = 'ff'
          request = factory.get('/?text=%s' % search_text)
keep keep keep keep replace keep keep keep keep keep
 Add drf settings + output format + testcases 
rest_framework/tests/filterset.py