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
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ if __name__ == '__main__':
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
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')
path = "/test/agent/" + str(randrange(100))