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

Method setUp

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

Source from the content-addressed store, hash-verified

1878class TestKmsTLSProse(EncryptionIntegrationTest):
1879 @unittest.skipUnless(any(AWS_CREDS.values()), "AWS environment credentials are not set")
1880 def setUp(self):
1881 super().setUp()
1882 self.patch_system_certs(CA_PEM)
1883 self.client_encrypted = self.create_client_encryption(
1884 {"aws": AWS_CREDS}, "keyvault.datakeys", self.client, OPTS
1885 )
1886
1887 def test_invalid_kms_certificate_expired(self):
1888 key = {

Callers

nothing calls this directly

Calls 3

setUpMethod · 0.45
patch_system_certsMethod · 0.45

Tested by

no test coverage detected