3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-28 21:19:24 +01:00

test: Update simple-agent to new dbus paths

This commit is contained in:
Denis Kenzior 2019-10-28 21:15:07 -05:00
parent 785fd8c6eb
commit 45d5b5e475

View File

@ -54,7 +54,8 @@ if __name__ == '__main__':
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus() bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('net.connman.iwd', "/"), manager = dbus.Interface(bus.get_object('net.connman.iwd',
'/net/connman/iwd'),
'net.connman.iwd.AgentManager') 'net.connman.iwd.AgentManager')
path = "/test/agent/" + str(randrange(100)) path = "/test/agent/" + str(randrange(100))