'Tests that a paginator page acts like a standard sequence.'

def test_page_sequence(self):

    eleven = u'abcdefghijk'
    page2 = Paginator(eleven, per_page=5, orphans=1).page(2)
    self.assertEqual(len(page2), 6)
    self.assertTrue((u'k' in page2))
    self.assertFalse((u'a' in page2))
    self.assertEqual(u''.join(page2), u'fghijk')
    self.assertEqual(u''.join(reversed(page2)), u'kjihgf')
