mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Merge branch 'master' of https://github.com/certbot/certbot into certbot-untyped-defs
This commit is contained in:
commit
35b4feaaa9
1 changed files with 2 additions and 1 deletions
|
|
@ -628,7 +628,8 @@ class MainTest(test_util.ConfigTestCase): # pylint: disable=too-many-public-met
|
|||
toy_stdout = stdout if stdout else six.StringIO()
|
||||
with mock.patch('certbot.main.sys.stdout', new=toy_stdout):
|
||||
with mock.patch('certbot.main.sys.stderr') as stderr:
|
||||
ret = main.main(args[:]) # NOTE: parser can alter its args!
|
||||
with mock.patch("certbot.util.atexit"):
|
||||
ret = main.main(args[:]) # NOTE: parser can alter its args!
|
||||
return ret, toy_stdout, stderr
|
||||
|
||||
def test_no_flags(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue