def end_index(self):
        return ((self.number - 1) * self.paginator.per_page +
            len(self.object_list))

    #Bonus methods for creating links
Create a fake server.
dataset/ETHPy150Open amarandon/smeuhsocial/apps/pagination/paginator.py/InfinitePage.end_index--crossover with--dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py/FakeServer.create_one_server