diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-02-17 21:48:09 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-02-17 21:49:09 +0100 |
commit | 0b20cec82b1ef62bcab77235aa448a22a65b6a9c (patch) | |
tree | 4947adae747eb9a487cfdfac2ca40406898dfbcf /tests | |
parent | b86dbc32966c97c2b8c3015bc2ab0ef0c1611519 (diff) | |
download | gnome-settings-daemon-0b20cec82b1ef62bcab77235aa448a22a65b6a9c.tar.gz |
tests: Dist fix
Add the SetBrightness method here for login1.Session, till dbusmock
picks it up.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gsdtestcase.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |