mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Fixing broken tests
This commit is contained in:
@@ -146,7 +146,9 @@ def out_and_err(command, input=None, shell=False, env=None):
|
|||||||
out, err = process.communicate(input=input)
|
out, err = process.communicate(input=input)
|
||||||
status = process.poll() # same as in check_output(), though wait() sounds better
|
status = process.poll() # same as in check_output(), though wait() sounds better
|
||||||
if status:
|
if status:
|
||||||
raise CalledProcessError(status, command)
|
error = CalledProcessError(status, command)
|
||||||
|
error.output = out
|
||||||
|
raise error
|
||||||
return out, err
|
return out, err
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user