mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Assert CLI test (--help) raises SystemExit
This commit is contained in:
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user