

def test_current_page_render(self):
    page = self.pages.current()
    rendered_page = utils.text(self)
    self.assertNotIn('href', rendered_page)
    self.assertIn(page.label, rendered_page)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.test_current_page_render/VarMisuse@26/33 `page`->`self`