mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Test bad csr
This commit is contained in:
parent
953d4957b8
commit
2c4c8c081c
1 changed files with 5 additions and 0 deletions
|
|
@ -192,6 +192,11 @@ class ImportCSRFileTest(unittest.TestCase):
|
|||
["example.com"],),
|
||||
self._call(csrfile, data))
|
||||
|
||||
def test_bad_csr(self):
|
||||
self.assertRaises(errors.Error, self._call,
|
||||
test_util.vector_path('cert.pem'),
|
||||
test_util.load_vector('cert.pem'))
|
||||
|
||||
|
||||
class MakeKeyTest(unittest.TestCase): # pylint: disable=too-few-public-methods
|
||||
"""Tests for certbot.crypto_util.make_key."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue