mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
lintmonster
This commit is contained in:
@@ -137,7 +137,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
||||
exc = None
|
||||
try:
|
||||
with mock.patch('letsencrypt.cli.sys.stderr'):
|
||||
out = cli.main(self.standard_args + args[:]) # NOTE: parser can alter its args!
|
||||
cli.main(self.standard_args + args[:]) # NOTE: parser can alter its args!
|
||||
except errors.MissingCommandlineFlag, exc:
|
||||
self.assertTrue(message in str(exc))
|
||||
self.assertTrue(exc is not None)
|
||||
|
||||
Reference in New Issue
Block a user