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

Method test_simple_ssl

test/test_ssl.py:155–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153
154 @client_context.require_tls
155 def test_simple_ssl(self):
156 if "PyPy" in sys.version:
157 self.skipTest("Test is flaky on PyPy")
158 # Expects the server to be running with ssl and with
159 # no --sslPEMKeyFile or with --sslWeakCertificateValidation
160 self.assertClientWorks(self.client)
161
162 @client_context.require_tlsCertificateKeyFile
163 @client_context.require_no_api_version

Callers

nothing calls this directly

Calls 1

assertClientWorksMethod · 0.95

Tested by

no test coverage detected