          # Tests that the decimal filter set that should succeed.
          search_decimal = Decimal('4.25')
          low_item = self.objects.filter(decimal__lt=search_decimal)[0]
          low_item_data = self._serialize_object(low_item)
          response = self.client.get('{url}?decimal={param}'.format(url=self._get_url(low_item), param=search_decimal))
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          self.assertEqual(response.data, low_item_data)
  
          # Tests that multiple filters works.
          search_decimal = Decimal('5.25')
 
</s> remove         response = self.client.get('{url}?decimal={param}'.format(url=self._get_url(high_item), param=search_decimal))
 </s> add         response = self.client.get(
            '{url}'.format(url=self._get_url(high_item)),
            {'decimal': '{param}'.format(param=search_decimal)}) </s> remove         request = factory.get('/?decimal=%s' % search_decimal)
 </s> add         request = factory.get('/', {'decimal': '%s' % search_decimal}) </s> remove         request = factory.get('/?decimal=%s&date=%s' % (search_decimal, search_date))
 </s> add         request = factory.get('/', {
            'decimal': '%s' % (search_decimal,),
            'date': '%s' % (search_date,)
        }) </s> remove         request = factory.get('/?decimal=%s' % search_decimal)
 </s> add         request = factory.get('/', {'decimal': '%s' % search_decimal}) </s> remove         request = factory.get('/?decimal=%s' % search_decimal)
 </s> add         request = factory.get('/', {'decimal': '%s' % search_decimal})
        response = self.client.get(
            '{url}'.format(url=self._get_url(low_item)),
            {'decimal': '{param}'.format(param=search_decimal)})
          # Tests that the decimal filter set that should succeed.
          search_decimal = Decimal('4.25')
          low_item = self.objects.filter(decimal__lt=search_decimal)[0]
          low_item_data = self._serialize_object(low_item)
        response = self.client.get(
            '{url}'.format(url=self._get_url(low_item)),
            {'decimal': '{param}'.format(param=search_decimal)})
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          self.assertEqual(response.data, low_item_data)
  
          # Tests that multiple filters works.
          search_decimal = Decimal('5.25')
keep keep keep keep replace keep keep keep keep keep
 Refactoring due to the previous commit. 
rest_framework/tests/test_filters.py