1
0
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:
Jakub Warmuz
2015-05-01 20:19:26 +00:00
parent cc32eeb7cf
commit 17e8ddcb5c

View File

@@ -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__':