[gnome-settings-daemon] power: Start tests with the lid opened
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Start tests with the lid opened
- Date: Wed, 23 Jan 2013 18:21:54 +0000 (UTC)
commit de5b13d6afa2db9db974b3ccdb280cfc2c89febc
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 23 18:04:52 2013 +0100
power: Start tests with the lid opened
On battery with the lid closed and we don't end up sleeping
straight away?
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 d49d090..a09e75d 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -33,7 +33,7 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
def setUp(self):
# start mock upowerd
(self.upowerd, self.obj_upower) = self.spawn_server_template(
- 'upower', {'OnBattery': True}, stdout=subprocess.PIPE)
+ 'upower', {'OnBattery': True, 'LidIsClosed': False}, stdout=subprocess.PIPE)
gsdtestcase.set_nonblock(self.upowerd.stdout)
# start mock gnome-shell screensaver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]