Simplify the service monitoring test script
[connman] / test / simple-agent
index 47a61f6..cb3a675 100755 (executable)
@@ -7,7 +7,7 @@ import dbus.service
 import dbus.mainloop.glib
 
 class Agent(dbus.service.Object):
-       @dbus.service.method("org.freedesktop.connman.Agent",
+       @dbus.service.method("org.moblin.connman.Agent",
                                        in_signature='', out_signature='')
        def Release(self):
                print("Release")
@@ -17,8 +17,8 @@ if __name__ == '__main__':
        dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
        bus = dbus.SystemBus()
-       manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"),
-                                       'org.freedesktop.connman.Manager')
+       manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
+                                       'org.moblin.connman.Manager')
 
        path = "/test/agent"
        object = Agent(bus, path)