test: Update map-client to use D-Bus properties interface

This commit is contained in:
Luiz Augusto von Dentz 2012-12-14 23:32:00 +02:00 committed by Johan Hedberg
parent e4f45a247b
commit 9f4d7d9ac3

View File

@ -136,8 +136,8 @@ class MapClient:
self.map.ListMessages("", dict())
path = self.path + "/message" + handle
obj = bus.get_object("org.bluez.obex.client", path)
msg = dbus.Interface(obj, "org.bluez.obex.Message")
ret = msg.GetProperties()
msg = dbus.Interface(obj, "org.freedesktop.DBus.Properties")
ret = msg.GetAll("org.bluez.obex.Message")
print pformat(unwrap(ret))
def set_message_property(self, handle, prop, flag):