'An invalid offset query param should be treated as 0.'

def test_invalid_offset(self):

    request = Request(factory.get(u'/', {u'limit': 5, u'offset': u'invalid'}))
    queryset = self.paginate_queryset(request)
    assert (queryset == [1, 2, 3, 4, 5])
