mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 17:54:25 +02:00
Assert CLI test (--help) raises SystemExit
This commit is contained in:
@@ -5,6 +5,7 @@ class CLITest(unittest.TestCase):
|
|||||||
|
|
||||||
def test_it(self):
|
def test_it(self):
|
||||||
from letsencrypt.client import cli
|
from letsencrypt.client import cli
|
||||||
|
self.assertRaises(SystemExit, cli.main, ['--help'])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Reference in New Issue
Block a user