def test_get_cursor_3page_2start_3lim(self):
     c = Cursor(self.connection,
                self.collection,
                per_page=3,
                start='row2',
                limit=3)
     assert ([r['_id'] for r in list(c)] == ['row2', 'row3', 'row4'])
 def test_get_cursor_3page(self):
     c = Cursor(self.connection,
                self.collection,
                per_page=3,
                start=None,
                limit=None)
     assert ([r['_id'] for r in list(c)
              ] == ['row1', 'row2', 'row3', 'row4', 'row5', 'row6'])