summaryrefslogtreecommitdiff
path: root/plugins/power/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/power/test.py')
-rwxr-xr-xplugins/power/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 3157c6b0..e52bbbf4 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -708,7 +708,7 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
self.assertEqual(self.get_status(), gsdpowerenums.GSM_PRESENCE_STATUS_AVAILABLE)
# Wait and check we're not idle, but dimmed
- self.check_dim(gsdpowerconstants.MINIMUM_IDLE_DIM_DELAY)
+ self.check_dim(gsdpowerconstants.MINIMUM_IDLE_DIM_DELAY + 1)
# Give time for the brightness to change
time.sleep(2)
level = self.get_brightness();