          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
  
          next_url = self.pagination.get_next_link()
          assert next_url
  
          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [11, 12, 13, 14, 15]
  
 
</s> remove         assert next_url is None

        # Now page back again

 </s> add  </s> remove         request = Request(factory.get(next_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [11, 12, 13, 14, 15]
 </s> add         (previous page, current page, next page, previous url, next url)
        """
        request = Request(factory.get(url))
        queryset = self.pagination.paginate_queryset(self.queryset, request)
        current = [item.created for item in queryset] </s> remove         request = Request(factory.get(previous_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
 </s> add         if next_url is not None:
            request = Request(factory.get(next_url))
            queryset = self.pagination.paginate_queryset(self.queryset, request)
            next = [item.created for item in queryset]
        else:
            next = None </s> remove         next_url = self.pagination.get_next_link()
        assert next_url
 </s> add         assert previous == [7, 7, 7, 8, 9]
        assert current == [9, 9, 9, 9, 9]
        assert next is None </s> remove         next_url = self.pagination.get_next_link()
        assert next_url
 </s> add         assert previous == [7, 7, 7, 7, 7]
        assert current == [7, 7, 7, 8, 9]
        assert next == [9, 9, 9, 9, 9]
    def get_pages(self, url):
        """
        Given a URL return a tuple of:
          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
  
    def get_pages(self, url):
        """
        Given a URL return a tuple of:
    def get_pages(self, url):
        """
        Given a URL return a tuple of:
  
          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [11, 12, 13, 14, 15]
  
keep keep keep keep replace replace keep keep keep keep keep
 Tidy up cursor tests and make more comprehensive 
tests/test_pagination.py