'Ensure that re-filtering after slicing works'

def test_call_after_limits_set(self):

    class Post(Document, ):
        title = StringField()
    Post.drop_collection()
    Post(title='Post    1').save()
    Post(title='Post    2').save()
    posts = Post.objects.all()[0:1]
    self.assertEqual(len(list(posts())), 1)
    Post.drop_collection()
