mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Also test top level help
This commit is contained in:
parent
11ca1108c2
commit
43cb36807a
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,12 @@ class CLITest(unittest.TestCase):
|
|||
self.assertTrue("--manual-test-mode" not in out)
|
||||
self.assertTrue("--prepare" in out)
|
||||
self.assertTrue("Plugin options" in out)
|
||||
output.truncate(0)
|
||||
self.assertRaises(SystemExit, self._call_stdout, ['-h'])
|
||||
out = output.getvalue()
|
||||
from letsencrypt import cli
|
||||
self.assertTrue(cli.USAGE in out)
|
||||
|
||||
|
||||
def test_rollback(self):
|
||||
_, _, _, client = self._call(['rollback'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue