          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
  
          previous_url = self.pagination.get_previous_link()
          assert previous_url
  
          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [1, 2, 3, 4, 5]
  
 
</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         assert previous_url
 </s> add  </s> remove         previous_url = self.pagination.get_previous_link()
        assert previous_url
 </s> add         assert previous == [1, 2, 3, 4, 4]
        assert current == [4, 4, 5, 6, 7]
        assert next == [7, 7, 7, 7, 7] </s> remove         request = Request(factory.get(previous_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [1, 2, 3, 4, 5]
 </s> add         return (previous, current, next, previous_url, next_url) </s> remove         next_url = self.pagination.get_next_link()
        assert next_url
 </s> add     def get_pages(self, url):
        """
        Given a URL return a tuple of:
        if previous_url is not None:
            request = Request(factory.get(previous_url))
            queryset = self.pagination.paginate_queryset(self.queryset, request)
            previous = [item.created for item in queryset]
        else:
            previous = None
          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
  
        if previous_url is not None:
            request = Request(factory.get(previous_url))
            queryset = self.pagination.paginate_queryset(self.queryset, request)
            previous = [item.created for item in queryset]
        else:
            previous = None
        if previous_url is not None:
            request = Request(factory.get(previous_url))
            queryset = self.pagination.paginate_queryset(self.queryset, request)
            previous = [item.created for item in queryset]
        else:
            previous = None
  
          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [1, 2, 3, 4, 5]
  
keep keep keep keep replace replace keep keep keep keep keep
 Tidy up cursor tests and make more comprehensive 
tests/test_pagination.py