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

Method setUpClass

test/mockupdb/test_op_msg.py:282–285  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

280
281 @classmethod
282 def setUpClass(cls):
283 cls.server = MockupDB(auto_ismaster=True, max_wire_version=8)
284 cls.server.run()
285 cls.client = cls.unmanaged_simple_client(cls.server.uri)
286
287 @classmethod
288 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

runMethod · 0.45

Tested by

no test coverage detected