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

Method setUp

test/test_gridfs.py:83–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 db: Database
82
83 def setUp(self):
84 super().setUp()
85 self.db = MongoClient(connect=False).pymongo_test
86
87 def test_gridfs(self):
88 self.assertRaises(TypeError, gridfs.GridFS, "foo")

Callers

nothing calls this directly

Calls 2

MongoClientClass · 0.90
setUpMethod · 0.45

Tested by

no test coverage detected