

def test_no_previous(self):
    pages = models.PageList(self.request, pages.paginator.page(1), self.page_label)
    self.assertEqual('', pages.previous())

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_no_previous/VarMisuse@20/24 `self`->`pages`