

def check_page_list_callable(self, callable_or_path):
    'Check the provided *page_list_callable* is actually used.'
    with local_settings(PAGE_LIST_CALLABLE=callable_or_path):
        rendered = utils.text(self.pages).strip()
    expected = '<span class="endless_separator">...</span>'
    self.assertEqual(self, rendered)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py PageListTest.check_page_list_callable/VarMisuse@48/97 `expected`->`self`