

def test_first_page_as_arrow(self):
    page = self.pages.first_as_arrow()
    self.assertEqual('/', page.path)
    self.assertEqual('', self.url)
    self.check_page(page, 1, True, False, False, label=settings.FIRST_LABEL)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_first_page_as_arrow/VarMisuse@37/46 `page`->`self`