def test_pagesize(self):
    '``pagenumber`` gets the pagenumber from the request.'
    from moztrap.view.lists.templatetags.pagination import pagesize
    request = Mock()
    request.GET = {'pagenumber': 2, 'pagesize': 10}
    self.assertEqual(pagesize(request), 10)
``pagenumber`` gets the pagenumber from the request.
def test_pagesize(self):
    
    from moztrap.view.lists.templatetags.pagination import pagesize
    request = Mock()
    request.GET = {'pagenumber': 2, 'pagesize': 10}
    self.assertEqual(pagesize(request), 10)