test: don't capture stderr when running osbuild
stdout is expected to be JSON.
This commit is contained in:
parent
f09a0c2a69
commit
9350e868a7
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class TestCase(unittest.TestCase):
|
|||
|
||||
stdin = subprocess.PIPE if input else None
|
||||
|
||||
p = subprocess.Popen(osbuild_cmd, encoding="utf-8", stdin=stdin, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
p = subprocess.Popen(osbuild_cmd, encoding="utf-8", stdin=stdin, stdout=subprocess.PIPE)
|
||||
try:
|
||||
output, _ = p.communicate(input)
|
||||
if p.returncode != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue