]> granicus.if.org Git - python/commit
Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem
authorMartin Panter <vadmium+py@gmail.com>
Sat, 30 Jan 2016 03:41:43 +0000 (03:41 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 30 Jan 2016 03:41:43 +0000 (03:41 +0000)
commit407b62f3e5a55705f000768b765addd1d11fbe42
tree45d0e035f7cc44e7c7d532240888bd8ad79811cc
parent0a20bbf66913157bb54b8d6e426f540233c7ea6c
Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem

Testing for a non-existing certificate file is already done in test_errors().
Copy wrongcert.pem from Python 2 and use it to test the behaviour with a
mismatched certificate.
Lib/test/test_ssl.py
Lib/test/wrongcert.pem [new file with mode: 0644]