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

Method test_command_cursor_del

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

Source from the content-addressed store, hash-verified

740 self._test_cursor_helper(find, delete)
741
742 def test_command_cursor_del(self):
743 def aggregate(coll, session):
744 return coll.aggregate([], session=session)
745
746 def delete(cursor):
747 return cursor.__del__()
748
749 self._test_cursor_helper(aggregate, delete)
750
751 def test_cursor_exhaust(self):
752 def find(coll, session):

Callers

nothing calls this directly

Calls 1

_test_cursor_helperMethod · 0.95

Tested by

no test coverage detected