def check_page_list_callable(self, callable_or_path):
        with local_settings(PAGE_LIST_CALLABLE=callable_or_path):
            rendered = utils.text(self.pages).strip()
        expected = '<span class="endless_separator">...</span>'
        self.assertEqual(expected, rendered)
Attempt to find the username in a cross-platform fashion.
dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py/PageListTest.check_page_list_callable--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/_FileCache._GetUsername