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

Method _setup

test/test_encryption.py:1352–1354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1350 client: MongoClient
1351
1352 def _setup(self):
1353 keyvault = self.client.get_database(self.KEYVAULT_DB).get_collection(self.KEYVAULT_COLL)
1354 create_key_vault(keyvault, self.DEK)
1355
1356 def _test_explicit(self, expectation):
1357 self._setup()

Callers 2

_test_explicitMethod · 0.95
_test_automaticMethod · 0.95

Calls 3

create_key_vaultFunction · 0.70
get_collectionMethod · 0.45
get_databaseMethod · 0.45

Tested by

no test coverage detected