[gnome-settings-daemon] tests: Dist fix



commit 0b20cec82b1ef62bcab77235aa448a22a65b6a9c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Feb 17 21:48:09 2020 +0100

    tests: Dist fix
    
    Add the SetBrightness method here for login1.Session, till dbusmock
    picks it up.

 tests/gsdtestcase.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 3d198cb0..28068f6f 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -175,6 +175,8 @@ class GSDTestCase(X11SessionTestCase):
         self.logind_obj.AddMethod('org.freedesktop.login1.Manager', 'SuspendThenHibernate', 'b', '', '')
         self.logind_obj.AddMethod('org.freedesktop.login1.Manager', 'CanSuspendThenHibernate', '', 's', 'ret 
= "%s"' % parameters.get('CanSuspendThenHibernate', 'yes'))
 
+        self.logind_obj.AddMethod('org.freedesktop.login1.Session', 'SetBrightness', 'ssu', '', '')
+
         # set log to nonblocking
         set_nonblock(self.logind.stdout)
 


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