From b9dcc0f75569396fee79bae315d86861cc775cd8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Nov 2010 13:45:24 +0100 Subject: Remove some leftovers from Device/Network interface removal --- test/monitor-manager | 3 +-- test/monitor-services | 3 +-- test/show-introspection | 12 +++--------- 3 files changed, 5 insertions(+), 13 deletions(-) (limited to 'test') 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() -- cgit v1.2.3