'GET requests to ListCreateAPIView should return filtered list.'

def test_get_root_view_filters_by_name_with_filter_backend(self):

    root_view = RootView.as_view(filter_backends=(InclusiveFilterBackend,))
    request = factory.get(u'/')
    response = root_view(request).render()
    assert (response.status_code == status.HTTP_200_OK)
    assert (len(response.data) == 1)
    assert (response.data == [{u'id': 1, u'text': u'foo'}])
