(self)
| 761 | self._test_cursor_helper(aggregate, lambda cursor: cursor.to_list()) |
| 762 | |
| 763 | def test_cursor_limit_reached(self): |
| 764 | def find(coll, session): |
| 765 | return coll.find(limit=4, batch_size=2, session=session) |
| 766 | |
| 767 | self._test_cursor_helper( |
| 768 | find, |
| 769 | lambda cursor: cursor.to_list(), |
| 770 | ) |
| 771 | |
| 772 | def test_command_cursor_limit_reached(self): |
| 773 | def aggregate(coll, session): |
nothing calls this directly
no test coverage detected