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

Method setUp

test/performance/perf_test.py:222–226  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

220
221class MicroTest(PerformanceTest):
222 def setUp(self):
223 super().setUp()
224 # Location of test data.
225 with open(os.path.join(TEST_PATH, os.path.join("extended_bson", self.dataset))) as data:
226 self.file_data = data.read()
227
228
229class BsonEncodingTest(MicroTest):

Callers

nothing calls this directly

Calls 3

setUpMethod · 0.45
joinMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected