From: Samuel Ortiz Date: Mon, 26 Jul 2010 16:09:17 +0000 (+0200) Subject: Try all technologies from start-scanning test script X-Git-Tag: 0.56~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30310708307fb1ec5bc2d90cbe6ef4c66a683397;p=platform%2Fupstream%2Fconnman.git Try all technologies from start-scanning test script --- diff --git a/test/start-scanning b/test/start-scanning index b8e5229..e3bac28 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"