

def test_page_render(self):
    page = self.pages.first()
    rendered_page = utils.text(page)
    self.assertIn('href="/"', rendered_page)
    self.assertIn(self.label, rendered_page)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_page_render/VarMisuse@42/57 `page`->`self`