def test_display_pages_long_on_last(self):
        p = self.pager(self.qs(120), 10, 12)
        self.assertEqual(list(p.display_pages()), [1, 2, None, 10, 11, 12])
At least two pages on each side of current page are shown.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPager.test_display_pages_long_on_last