From 1c7fd7d80e252d0e7244617fd374905e5ffad619 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Oct 2015 07:11:23 +0100 Subject: [PATCH] Rename testprocess cleanup to terminate. --- tests/integration/quteprocess.py | 2 +- tests/integration/testprocess.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 81a5c74e1..e23367db6 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -184,4 +184,4 @@ def quteproc(qapp, httpbin): proc.start() yield proc proc.after_test() - proc.cleanup() + proc.terminate() diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index f2a34d07d..42a41f701 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -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()