summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-26 18:09:17 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-26 18:10:51 +0200
commit30310708307fb1ec5bc2d90cbe6ef4c66a683397 (patch)
treeeca6d59dceddf71873376bf22a0460fb520a55f6 /test
parent069925347bf9eaa10aefae2b84c23aee26406a99 (diff)
downloadconnman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.tar.gz
connman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.tar.bz2
connman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.zip
Try all technologies from start-scanning test script
Diffstat (limited to 'test')
-rwxr-xr-xtest/start-scanning6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/start-scanning b/test/start-scanning
index b8e52294..e3bac28a 100755
--- a/test/start-scanning
+++ b/test/start-scanning
@@ -23,8 +23,10 @@ for path in properties["Technologies"]:
for path in properties["Devices"]:
device = dbus.Interface(bus.get_object('org.moblin.connman', path),
'org.moblin.connman.Device')
-
- device.ProposeScan()
+ try:
+ device.ProposeScan()
+ except dbus.DBusException, error:
+ print " %s: %s" % (error._dbus_error_name, error.message)
else:
print " No scanning"