          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [1, 1, 2, 3, 4]
  
          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] == [5, 6, 7, 8, 9]
  
 
</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] </s> remove         request = Request(factory.get(next_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [5, 6, 7, 8, 9]
 </s> add         (previous, current, next, previous_url, next_url) = self.get_pages(previous_url) </s> remove         next_url = self.pagination.get_next_link()
        assert next_url is None
 </s> add         assert previous == [7, 7, 7, 7, 7]
        assert current == [7, 7, 7, 8, 9]
        assert next == [9, 9, 9, 9, 9] </s> remove         next_url = self.pagination.get_next_link()
        assert next_url
 </s> add         assert previous == [4, 4, 4, 5, 6]  # Paging artifact
        assert current == [7, 7, 7, 7, 7]
        assert next == [7, 7, 7, 8, 9] </s> remove         request = Request(factory.get(next_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [1, 1, 2, 3, 4]
 </s> add         (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        assert previous == [7, 7, 7, 8, 9]
        assert current == [9, 9, 9, 9, 9]
        assert next is None
          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [1, 1, 2, 3, 4]
  
        assert previous == [7, 7, 7, 8, 9]
        assert current == [9, 9, 9, 9, 9]
        assert next is None
        assert previous == [7, 7, 7, 8, 9]
        assert current == [9, 9, 9, 9, 9]
        assert next is None
  
          request = Request(factory.get(next_url))
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [5, 6, 7, 8, 9]
  
keep keep keep keep replace replace keep keep keep keep keep
 Tidy up cursor tests and make more comprehensive 
tests/test_pagination.py