From 60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Mon, 25 Nov 2013 00:02:04 +0100 Subject: test: Display device properties from the list command --- test/test-device | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-device b/test/test-device index 477ae58..a4923fb 100755 --- a/test/test-device +++ b/test/test-device @@ -50,6 +50,11 @@ if (sys.argv[1] == "list"): print(" [ %s ]" % (path)) + props = interfaces["org.neard.Device"] + + for (key, value) in props.items(): + print(" %s = %s" % (key, value)) + sys.exit(0) if (sys.argv[1] == "dump"): -- cgit v1.2.3