def test_display_pages_long_in_middle(self):
        p = self.pager(self.qs(150), 10, 8)
        self.assertEqual(list(p.display_pages()), [1, 2, None, 6, 7, 8, 9, 10, None, 14, 15])
May be two elisions, if in middle of long page set.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPager.test_display_pages_long_in_middle