def METHOD_NAME(self):
    values = list(self.index.values())
    values.sort()
    for i, v in enumerate(values):
        self.assertEqual(v, (i * 1000 + 1))
    values = self.index.values()
    values.sort()
    for i, v in enumerate(values):
        self.assertEqual(v, (i * 1000 + 1))