Print output earlier in test_version
This commit is contained in:
parent
9a8088586f
commit
9e10f891ff
@ -176,14 +176,15 @@ def test_version(request):
|
||||
ok = proc.waitForStarted(2000)
|
||||
assert ok
|
||||
ok = proc.waitForFinished(2000)
|
||||
assert ok
|
||||
assert proc.exitStatus() == QProcess.NormalExit
|
||||
|
||||
stdout = bytes(proc.readAllStandardOutput()).decode('utf-8')
|
||||
print(stdout)
|
||||
stderr = bytes(proc.readAllStandardError()).decode('utf-8')
|
||||
print(stderr)
|
||||
|
||||
assert ok
|
||||
assert proc.exitStatus() == QProcess.NormalExit
|
||||
|
||||
assert re.search(r'^qutebrowser\s+v\d+(\.\d+)', stdout) is not None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user