'GET requests to filtered RetrieveAPIView that have a filter_class set
should return filtered results.'

@unittest.skipUnless(django_filters, u'django-filter    not    installed')
def test_get_filtered_detail_view(self):

    item = self.objects.all()[0]
    data = self._serialize_object(item)
    response = self.client.get(self._get_url(item))
    assert (response.status_code == status.HTTP_200_OK)
    assert (response.data == data)
    search_decimal = Decimal(u'4.25')
    high_item = self.objects.filter(decimal__gt=search_decimal)[0]
    response = self.client.get(u'{url}'.format(url=self._get_url(high_item)), {u'decimal': u'{param}'.format(param=search_decimal)})
    assert (response.status_code == status.HTTP_404_NOT_FOUND)
    search_decimal = Decimal(u'4.25')
    low_item = self.objects.filter(decimal__lt=search_decimal)[0]
    low_item_data = self._serialize_object(low_item)
    response = self.client.get(u'{url}'.format(url=self._get_url(low_item)), {u'decimal': u'{param}'.format(param=search_decimal)})
    assert (response.status_code == status.HTTP_200_OK)
    assert (response.data == low_item_data)
    search_decimal = Decimal(u'5.25')
    search_date = datetime.date(2012, 10, 2)
    valid_item = self.objects.filter(decimal__lt=search_decimal, date__gt=search_date)[0]
    valid_item_data = self._serialize_object(valid_item)
    response = self.client.get(u'{url}'.format(url=self._get_url(valid_item)), {u'decimal': u'{decimal}'.format(decimal=search_decimal), u'date': u'{date}'.format(date=search_date)})
    assert (response.status_code == status.HTTP_200_OK)
    assert (response.data == valid_item_data)
