[gnome-settings-daemon] power: Additional check in test_no_suspend_lid_close
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Additional check in test_no_suspend_lid_close
- Date: Wed, 23 Jan 2013 21:24:24 +0000 (UTC)
commit 50badc695e22722d0f481c744f590fd8d8e39daa
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 23 22:19:50 2013 +0100
power: Additional check in test_no_suspend_lid_close
Check that we do not blank the screen when closing the lid, and
a 2nd monitor is plugged in.
https://bugzilla.gnome.org/show_bug.cgi?id=687277
plugins/power/test.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 9ad59f8..98e3a1a 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -429,8 +429,9 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
self.obj_upower.Set('org.freedesktop.UPower', 'LidIsClosed', True)
self.obj_upower.EmitSignal('', 'Changed', '', [], dbus_interface='org.freedesktop.DBus.Mock')
- # Check for suspend
+ # Check for no suspend, and for no screen blanking
self.check_no_suspend (10)
+ self.check_no_blank(0)
# Unplug the external monitor
self.set_has_external_monitor(False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]