def test_display_pages_long_near_one_end(self):
        p = self.pager(self.qs(120), 10, 5)
        self.assertEqual(
        list(p.display_pages()), [1, 2, 3, 4, 5, 6, 7, None, 11, 12])
If only one page would be elided, it isn't.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPager.test_display_pages_long_near_one_end