tests: Fix quteproc_new fixture
This commit is contained in:
parent
33755b09df
commit
914ce85780
@ -636,6 +636,7 @@ def quteproc_new(qapp, httpbin, request):
|
||||
request.node._quteproc_log = proc.captured_log
|
||||
# Not calling before_test here as that would start the process
|
||||
yield proc
|
||||
call = request.node.rep_call
|
||||
did_fail = call.failed or hasattr(call, 'wasxfail')
|
||||
proc.after_test(did_fail=did_fail)
|
||||
proc.terminate()
|
||||
|
Loading…
Reference in New Issue
Block a user