diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-06 01:40:06 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-06 01:40:06 +0100 |
commit | 64af510378fbd97f37553dc47db96d55e281afae (patch) | |
tree | a4fd55703d95291c22b2c5671a870d30ab29b791 | |
parent | f93ca201df00929db3f27625b0626a9f2e7ac3ca (diff) | |
download | connman-64af510378fbd97f37553dc47db96d55e281afae.tar.gz connman-64af510378fbd97f37553dc47db96d55e281afae.tar.bz2 connman-64af510378fbd97f37553dc47db96d55e281afae.zip |
Add support for showing flight mode
-rwxr-xr-x | test/test-manager | 6 |
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]) |