diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-06 13:45:24 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-06 13:45:24 +0100 |
commit | b9dcc0f75569396fee79bae315d86861cc775cd8 (patch) | |
tree | ee29f0211ea7d70d6e0f3f2d3c1a8b473db45a04 /test | |
parent | 88c50711977c0106739a35913d9606007b759910 (diff) | |
download | connman-b9dcc0f75569396fee79bae315d86861cc775cd8.tar.gz connman-b9dcc0f75569396fee79bae315d86861cc775cd8.tar.bz2 connman-b9dcc0f75569396fee79bae315d86861cc775cd8.zip |
Remove some leftovers from Device/Network interface removal
Diffstat (limited to 'test')
-rwxr-xr-x | test/monitor-manager | 3 | ||||
-rwxr-xr-x | test/monitor-services | 3 | ||||
-rwxr-xr-x | test/show-introspection | 12 |
3 files changed, 5 insertions, 13 deletions
diff --git a/test/monitor-manager b/test/monitor-manager index 82ca805b..f9fe26a5 100755 --- a/test/monitor-manager +++ b/test/monitor-manager @@ -6,8 +6,7 @@ import dbus import dbus.mainloop.glib def property_changed(name, value): - if name in ["Profiles", "Services", "Providers", "Technologies", - "Devices", "Networks"]: + if name in ["Profiles", "Services", "Providers", "Technologies"]: val = "[" for i in value: val = val + " " + i[i.rfind("/") + 1:] diff --git a/test/monitor-services b/test/monitor-services index b7c95de8..8a05c2fa 100755 --- a/test/monitor-services +++ b/test/monitor-services @@ -25,8 +25,7 @@ def extract_list(list): def property_changed(name, value, path): service = path[path.rfind("/") + 1:] - if name in ["Profiles", "Services", "Providers", "Technologies", - "Devices", "Networks"]: + if name in ["Profiles", "Services", "Providers", "Technologies"] val = "[" for i in value: val = val + " " + i[i.rfind("/") + 1:] diff --git a/test/show-introspection b/test/show-introspection index 5e392c75..e64dd273 100755 --- a/test/show-introspection +++ b/test/show-introspection @@ -15,13 +15,7 @@ manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), properties = manager.GetProperties() for path in properties["Technologies"]: - technology = dbus.Interface(bus.get_object("org.moblin.connman", path), - "org.moblin.connman.Technology") + object = dbus.Interface(bus.get_object("org.moblin.connman", path), + "org.freedesktop.DBus.Introspectable") - properties = technology.GetProperties() - - for path in properties["Devices"]: - object = dbus.Interface(bus.get_object("org.moblin.connman", path), - "org.freedesktop.DBus.Introspectable") - - print object.Introspect() + print object.Introspect() |