summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-06 01:40:06 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-06 01:40:06 +0100
commit64af510378fbd97f37553dc47db96d55e281afae (patch)
treea4fd55703d95291c22b2c5671a870d30ab29b791
parentf93ca201df00929db3f27625b0626a9f2e7ac3ca (diff)
downloadconnman-64af510378fbd97f37553dc47db96d55e281afae.tar.gz
connman-64af510378fbd97f37553dc47db96d55e281afae.tar.bz2
connman-64af510378fbd97f37553dc47db96d55e281afae.zip
Add support for showing flight mode
-rwxr-xr-xtest/test-manager6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-manager b/test/test-manager
index 09c6e19e..ea976cae 100755
--- a/test/test-manager
+++ b/test/test-manager
@@ -54,6 +54,12 @@ def print_properties(key, value):
for key in properties.keys():
if key in ["Profiles", "Devices", "Connections"]:
print_properties(key, properties[key])
+ elif key in ["FlightMode"]:
+ print "%s" % (key)
+ if properties[key] == dbus.Boolean(1):
+ print " true"
+ else:
+ print " false"
else:
print "%s" % (key)
print " %s" % (properties[key])