mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Assert CLI test (--help) raises SystemExit
This commit is contained in:
parent
cc32eeb7cf
commit
17e8ddcb5c
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ class CLITest(unittest.TestCase):
|
|||
|
||||
def test_it(self):
|
||||
from letsencrypt.client import cli
|
||||
self.assertRaises(SystemExit, cli.main, ['--help'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue