

def test_next(self):
    next_page = self.pages.next()
    self.assertEqual((self.current_number + 1), self.number)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_next/VarMisuse@32/38 `next_page`->`self`