mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Use test_util.load_cert
This commit is contained in:
parent
94508b00df
commit
0b1e1d0937
1 changed files with 1 additions and 3 deletions
|
|
@ -264,9 +264,7 @@ class TLSSNI01ResponseTest(unittest.TestCase):
|
|||
|
||||
def test_verify_bad_cert(self):
|
||||
self.assertFalse(self.response.verify_cert(
|
||||
OpenSSL.crypto.load_certificate(
|
||||
OpenSSL.crypto.FILETYPE_PEM,
|
||||
test_util.load_vector('cert.pem'))))
|
||||
test_util.load_cert('cert.pem')))
|
||||
|
||||
def test_simple_verify_bad_key_authorization(self):
|
||||
key2 = jose.JWKRSA.load(test_util.load_vector('rsa256_key.pem'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue