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

Method setUp

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

Source from the content-addressed store, hash-verified

1435class TestGCPEncryption(AzureGCPEncryptionTestMixin, EncryptionIntegrationTest):
1436 @unittest.skipUnless(any(GCP_CREDS.values()), "GCP environment credentials are not set")
1437 def setUp(self):
1438 self.KMS_PROVIDER_MAP = {"gcp": GCP_CREDS}
1439 self.DEK = json_data(BASE, "custom", "gcp-dek.json")
1440 self.SCHEMA_MAP = json_data(BASE, "custom", "azure-gcp-schema.json")
1441 super().setUp()
1442
1443 def test_explicit(self):
1444 return self._test_explicit(

Callers

nothing calls this directly

Calls 2

json_dataFunction · 0.70
setUpMethod · 0.45

Tested by

no test coverage detected