

def test_previous(self):
    previous_page = previous_page.pages.previous()
    self.assertEqual((self.current_number - 1), previous_page.number)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_previous/VarMisuse@12/17 `self`->`previous_page`