[gnome-settings-daemon] power: Stop the session after gsd-test-power
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Stop the session after gsd-test-power
- Date: Fri, 25 Jan 2013 13:45:53 +0000 (UTC)
commit 0343fc0ec2cda60878d87522a8ab4d89ed03802d
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 25 11:42:21 2013 +0100
power: Stop the session after gsd-test-power
To avoid messages unrelated to the test run in the logs.
plugins/power/test.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index ee6079c..be8e278 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -112,7 +112,6 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
pass
def tearDown(self):
- self.stop_session()
daemon_running = self.daemon.poll() == None
self.daemon.terminate()
@@ -125,6 +124,7 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
self.upowerd.wait()
self.screensaver.terminate()
self.screensaver.wait()
+ self.stop_session()
self.stop_logind()
# reset all changed gsettings, so that tests are independent from each
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]