[gnome-settings-daemon] GSDTestCase: Kill mock notification daemon on teardown



commit ae6fd9df131cb39ed8a2535384cb12c60f2ad918
Author: Martin Pitt <martinpitt gnome org>
Date:   Tue Jan 22 07:33:11 2013 +0100

    GSDTestCase: Kill mock notification daemon on teardown

 tests/gsdtestcase.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 6efb3f2..1e4ae2a 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -80,6 +80,8 @@ class GSDTestCase(dbusmock.DBusTestCase):
 
     @classmethod
     def tearDownClass(klass):
+        klass.p_notify.terminate()
+        klass.p_notify.wait()
         klass.stop_session()
         dbusmock.DBusTestCase.tearDownClass()
         shutil.rmtree(klass.workdir)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]