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

Method test_default

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

Source from the content-addressed store, hash-verified

215
216class TestClientOptions(PyMongoTestCase):
217 def test_default(self):
218 client = self.simple_client(connect=False)
219 self.assertEqual(get_client_opts(client).auto_encryption_opts, None)
220
221 client = self.simple_client(auto_encryption_opts=None, connect=False)
222 self.assertEqual(get_client_opts(client).auto_encryption_opts, None)
223
224 @unittest.skipUnless(_HAVE_PYMONGOCRYPT, "pymongocrypt is not installed")
225 def test_kwargs(self):

Callers

nothing calls this directly

Calls 2

get_client_optsFunction · 0.70
simple_clientMethod · 0.45

Tested by

no test coverage detected