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

Method test_command_cursor_exhaust

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

Source from the content-addressed store, hash-verified

755 self._test_cursor_helper(find, lambda cursor: cursor.to_list())
756
757 def test_command_cursor_exhaust(self):
758 def aggregate(coll, session):
759 return coll.aggregate([], session=session)
760
761 self._test_cursor_helper(aggregate, lambda cursor: cursor.to_list())
762
763 def test_cursor_limit_reached(self):
764 def find(coll, session):

Callers

nothing calls this directly

Calls 2

_test_cursor_helperMethod · 0.95
to_listMethod · 0.45

Tested by

no test coverage detected