                      item for item in self.items
                      if item.created < int(created__lt)
                  ])
  
              def order_by(self, ordering):
                  if ordering.startswith('-'):
                      return MockQuerySet(reversed(self.items))
                  return self
  
              def __getitem__(self, sliced):
                  return self.items[sliced]
  
          self.pagination = pagination.CursorPagination()
 
</s> remove                 assert created__lt is not None
                return MockQuerySet([
                    item for item in self.items
                    if item.created < int(created__lt)
                ])
 </s> add         assert previous is None
        assert current == [1, 1, 1, 1, 1]
        assert next == [1, 2, 3, 4, 4] </s> remove                     return MockQuerySet(reversed(self.items))
 </s> add                     return MockQuerySet(list(reversed(self.items))) </s> remove             def filter(self, created__gt=None, created__lt=None):
                if created__gt is not None:
                    return MockQuerySet([
                        item for item in self.items
                        if item.created > int(created__gt)
                    ])
 </s> add     def test_cursor_pagination(self):
        (previous, current, next, previous_url, next_url) = self.get_pages('/') </s> remove             def __getitem__(self, sliced):
                return self.items[sliced]
 </s> add         assert previous == [1, 1, 1, 1, 1]
        assert current == [1, 2, 3, 4, 4]
        assert next == [4, 4, 5, 6, 7] </s> remove         self.pagination = pagination.CursorPagination()
        self.queryset = MockQuerySet([
            MockObject(idx) for idx in [
                1, 1, 1, 1, 1,
                1, 1, 1, 1, 1,
                1, 1, 2, 3, 4,
                5, 6, 7, 8, 9
            ]
        ])
 </s> add         (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
                      item for item in self.items
                      if item.created < int(created__lt)
                  ])
  
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
  
              def __getitem__(self, sliced):
                  return self.items[sliced]
  
          self.pagination = pagination.CursorPagination()
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