Rename testprocess cleanup to terminate.
This commit is contained in:
parent
18ead66f04
commit
1c7fd7d80e
@ -184,4 +184,4 @@ def quteproc(qapp, httpbin):
|
|||||||
proc.start()
|
proc.start()
|
||||||
yield proc
|
yield proc
|
||||||
proc.after_test()
|
proc.after_test()
|
||||||
proc.cleanup()
|
proc.terminate()
|
||||||
|
@ -141,7 +141,7 @@ class Process(QObject):
|
|||||||
if self._invalid:
|
if self._invalid:
|
||||||
raise InvalidLine
|
raise InvalidLine
|
||||||
|
|
||||||
def cleanup(self):
|
def terminate(self):
|
||||||
"""Clean up and shut down the process."""
|
"""Clean up and shut down the process."""
|
||||||
self.proc.terminate()
|
self.proc.terminate()
|
||||||
self.proc.waitForFinished()
|
self.proc.waitForFinished()
|
||||||
|
Loading…
Reference in New Issue
Block a user