mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
fix --csr and --allow-subset-of-names test
This commit is contained in:
parent
2c4c8c081c
commit
3c11733006
1 changed files with 3 additions and 2 deletions
|
|
@ -349,8 +349,9 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
|||
['-d', '204.11.231.35'])
|
||||
|
||||
def test_csr_with_besteffort(self):
|
||||
args = ["--csr", CSR, "--allow-subset-of-names"]
|
||||
self.assertRaises(errors.Error, self._call, args)
|
||||
self.assertRaises(
|
||||
errors.Error, self._call,
|
||||
'certonly --csr {0} --allow-subset-of-names'.format(CSR).split())
|
||||
|
||||
def test_run_with_csr(self):
|
||||
# This is an error because you can only use --csr with certonly
|
||||
|
|
|
|||
Loading…
Reference in a new issue