MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / connect_srv

Method connect_srv

test/atlas/test_connection.py:75–77  ·  view source on GitHub ↗
(self, uri)

Source from the content-addressed store, hash-verified

73 self.connect(URIS["ATLAS_TLS12"])
74
75 def connect_srv(self, uri):
76 self.connect(uri)
77 self.assertIn("mongodb+srv://", uri)
78
79 @unittest.skipUnless(_has_sni(True), "Free tier requires SNI support")
80 def test_srv_free_tier(self):

Callers 5

test_srv_free_tierMethod · 0.95
test_srv_replica_setMethod · 0.95
test_srv_tls_11Method · 0.95
test_srv_tls_12Method · 0.95

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected