[gnome-settings-daemon] power tests: More cleanup



commit c61d46ff52424d94e8ecaa2091b06cd4a89f3623
Author: Martin Pitt <martinpitt gnome org>
Date:   Mon Jan 14 17:10:29 2013 +0100

    power tests: More cleanup
    
    Remove forgotten duplicate of flushing the notification log.

 plugins/power/test.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index a35c623..bfc75b2 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -173,12 +173,6 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
 
         time.sleep(1)
 
-        # flush notification log
-        try:
-            self.p_notify.stdout.read()
-        except IOError:
-            pass
-
         # now change battery to critical charge
         obj_bat.Set('org.freedesktop.UPower.Device', 'TimeToEmpty',
                     dbus.Int64(30, variant_level=1),



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