          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [11, 12, 13, 14, 15]
  
          next_url = self.pagination.get_next_link()
          assert next_url is None
  
          # Now page back again
  
          previous_url = self.pagination.get_previous_link()
          assert previous_url
  
          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
 
</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         next_url = self.pagination.get_next_link()
        assert next_url
 </s> add     def get_pages(self, url):
        """
        Given a URL return a tuple of: </s> remove         assert previous_url
 </s> add  </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]
          queryset = self.paginate_queryset(request)
          assert [item.created for item in queryset] == [11, 12, 13, 14, 15]
  
          next_url = self.pagination.get_next_link()




          previous_url = self.pagination.get_previous_link()
          assert previous_url
  
          request = Request(factory.get(previous_url))
          queryset = self.paginate_queryset(request)
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Tidy up cursor tests and make more comprehensive 
tests/test_pagination.py