[gnome-settings-daemon] power: Add comment about screensaver test



commit 53fcbeda5b339f571c01d4dcf59e7f545420f82e
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 19 19:58:04 2013 +0200

    power: Add comment about screensaver test
    
    eg. it doesn't behave quite like the real thing.

 plugins/power/test.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 4b925bd..8bdce77 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -368,7 +368,9 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
         self.assertFalse('TESTSUITE: Blanked screen' in log, 'unexpected blank request')
 
     def test_screensaver(self):
-        self.settings_screensaver['lock-enabled'] = False
+        # Note that the screensaver mock object
+        # doesn't know how to get out of being active,
+        # be it if the lock is disabled, or not.
 
         self.obj_screensaver.Lock()
         # 0.3 second animation



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