Skip to content

Commit 87580b1

Browse files
committed
PYTHON-934 - Add another simple URI test.
1 parent 6400922 commit 87580b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def test_cert_ssl_uri_support(self):
339339
"hostname in the certificate")
340340

341341
uri_fmt = ("mongodb://server/?ssl=true&ssl_certfile=%s&ssl_cert_reqs"
342-
"=%s&ssl_ca_certs=%s")
342+
"=%s&ssl_ca_certs=%s&ssl_match_hostname=true")
343343
client = MongoClient(uri_fmt % (CLIENT_PEM, 'CERT_REQUIRED', CA_PEM))
344344

345345
db = client.pymongo_ssl_test

0 commit comments

Comments
 (0)