'Regression test for #814.'

def test_filter_with_queryset(self):

    view = FilterFieldsQuerysetView.as_view()
    search_decimal = Decimal(u'2.25')
    request = factory.get(u'/', {u'decimal': (u'%s' % search_decimal)})
    response = view(request).render()
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    expected_data = [f for f in self.data if (Decimal(f[u'decimal']) == search_decimal)]
    self.assertEqual(response.data, expected_data)
