summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-05-30 18:55:37 -0700
committerRichard Hughes <richard@hughsie.com>2015-07-29 13:37:11 +0100
commitda7517137e7a67ccfcf60093b2eab466aeaf71ad (patch)
tree08230d8c3a0195b8396e686aaf578f65b1f0cfc8
parentb549d8928ba2f3ee1de786263ad1f71bc9de14d0 (diff)
downloadupower-da7517137e7a67ccfcf60093b2eab466aeaf71ad.tar.gz
integration-test: fix typo in interface name
The display device will use the org.freedesktop.UPower.Device interface, not org.freedesktop.UPower.
-rwxr-xr-xsrc/linux/integration-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/integration-test b/src/linux/integration-test
index e4a9cd8..48c0c1d 100755
--- a/src/linux/integration-test
+++ b/src/linux/integration-test
@@ -184,7 +184,7 @@ class Tests(unittest.TestCase):
proxy = Gio.DBusProxy.new_sync(
self.dbus, Gio.DBusProxyFlags.DO_NOT_AUTO_START, None, UP,
UP_DISPLAY_OBJECT_PATH, 'org.freedesktop.DBus.Properties', None)
- return proxy.Get('(ss)', UP, name)
+ return proxy.Get('(ss)', UP + '.Device', name)
def get_dbus_dev_property(self, device, name):
'''Get property value from an upower device D-Bus path.'''