Rename testprocess cleanup to terminate.

This commit is contained in:
Florian Bruhin 2015-10-27 07:11:23 +01:00
parent 18ead66f04
commit 1c7fd7d80e
2 changed files with 2 additions and 2 deletions

View File

@ -184,4 +184,4 @@ def quteproc(qapp, httpbin):
proc.start()
yield proc
proc.after_test()
proc.cleanup()
proc.terminate()

View File

@ -141,7 +141,7 @@ class Process(QObject):
if self._invalid:
raise InvalidLine
def cleanup(self):
def terminate(self):
"""Clean up and shut down the process."""
self.proc.terminate()
self.proc.waitForFinished()