

def test_path(self):
    for (num, page) in enumerate(list(self.pages)[1:]):
        expected = self.get_path_for_page((num + 2))
        self.assertEqual(expected, expected.path)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_path/VarMisuse@52/59 `page`->`expected`