integration-test: fix typo in interface name

The display device will use the org.freedesktop.UPower.Device interface,
not org.freedesktop.UPower.
This commit is contained in:
Cosimo Cecchi 2015-05-30 18:55:37 -07:00 committed by Richard Hughes
parent b549d8928b
commit da7517137e

View file

@ -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.'''