summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-03 22:57:52 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-03 22:57:52 +0100
commit647a017fc5c757d99dd39e2a65f113abe3ea0a3e (patch)
tree32fcbb4dc42e039b13b15cc1ee4ffdf837a1d2a9 /test
parent1a3b9647cf270105ddc3d62ade586a776dc93592 (diff)
downloadconnman-647a017fc5c757d99dd39e2a65f113abe3ea0a3e.tar.gz
connman-647a017fc5c757d99dd39e2a65f113abe3ea0a3e.tar.bz2
connman-647a017fc5c757d99dd39e2a65f113abe3ea0a3e.zip
Only introspect devices
Diffstat (limited to 'test')
-rwxr-xr-xtest/show-introspection4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/show-introspection b/test/show-introspection
index 86faca18..bbf93c8b 100755
--- a/test/show-introspection
+++ b/test/show-introspection
@@ -12,9 +12,9 @@ print object.Introspect()
manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
"org.moblin.connman.Manager")
-elements = manager.ListElements()
+properties = manager.GetProperties()
-for path in elements:
+for path in properties["Devices"]:
object = dbus.Interface(bus.get_object("org.moblin.connman", path),
"org.freedesktop.DBus.Introspectable")