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
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

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