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

Method test_command_cursor_close

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

Source from the content-addressed store, hash-verified

725 self._test_cursor_helper(find, lambda cursor: cursor.close())
726
727 def test_command_cursor_close(self):
728 def aggregate(coll, session):
729 return coll.aggregate([], session=session)
730
731 self._test_cursor_helper(aggregate, lambda cursor: cursor.close())
732
733 def test_cursor_del(self):
734 def find(coll, session):

Callers

nothing calls this directly

Calls 2

_test_cursor_helperMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected