          An invalid limit query param should be ignored in favor of the default.
          """
          request = Request(factory.get('/', {'limit': 'invalid', 'offset': 0}))
          queryset = self.paginate_queryset(request)
          assert queryset == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
          assert content.get('next') == next_url
  
      def test_max_limit(self):
 
</s>
        content = self.get_paginated_content(queryset)
        next_limit = self.pagination.default_limit
        next_offset = self.pagination.default_limit
        next_url = 'http://testserver/?limit={0}&offset={1}'.format(next_limit, next_offset)
          An invalid limit query param should be ignored in favor of the default.
          """
          request = Request(factory.get('/', {'limit': 'invalid', 'offset': 0}))
          queryset = self.paginate_queryset(request)
        content = self.get_paginated_content(queryset)
        next_limit = self.pagination.default_limit
        next_offset = self.pagination.default_limit
        next_url = 'http://testserver/?limit={0}&offset={1}'.format(next_limit, next_offset)
          assert queryset == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
          assert content.get('next') == next_url
  
      def test_max_limit(self):
keep keep keep add keep keep keep keep
 Include correct limits in LimitOffsetPagination link urls
tests/test_pagination.py