MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / test_cursor_limit_reached

Method test_cursor_limit_reached

test/test_session.py:763–770  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 2

_test_cursor_helperMethod · 0.95
to_listMethod · 0.45

Tested by

no test coverage detected