MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / test_cursor_exhaust

Method test_cursor_exhaust

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

Source from the content-addressed store, hash-verified

749 self._test_cursor_helper(aggregate, delete)
750
751 def test_cursor_exhaust(self):
752 def find(coll, session):
753 return coll.find(session=session)
754
755 self._test_cursor_helper(find, lambda cursor: cursor.to_list())
756
757 def test_command_cursor_exhaust(self):
758 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