summaryrefslogtreecommitdiff
path: root/test/show-introspection
diff options
context:
space:
mode:
Diffstat (limited to 'test/show-introspection')
-rwxr-xr-xtest/show-introspection12
1 files changed, 3 insertions, 9 deletions
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()