def test_display_pages_more_than_size(self):
        p = self.pager(self.qs(21), 20, 1)
        self.assertEqual(list(p.display_pages()), [1, 2])
With more than one page's objects, both pages are linked in nav.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPager.test_display_pages_more_than_size