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

Method test_kwargs

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

Source from the content-addressed store, hash-verified

223
224 @unittest.skipUnless(_HAVE_PYMONGOCRYPT, "pymongocrypt is not installed")
225 def test_kwargs(self):
226 opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys")
227 client = self.simple_client(auto_encryption_opts=opts, connect=False)
228 self.assertEqual(get_client_opts(client).auto_encryption_opts, opts)
229
230
231class EncryptionIntegrationTest(IntegrationTest):

Callers

nothing calls this directly

Calls 3

AutoEncryptionOptsClass · 0.90
get_client_optsFunction · 0.70
simple_clientMethod · 0.45

Tested by

no test coverage detected