Add support for showing flight mode
[platform/upstream/connman.git] / test / test-manager
index 09c6e19..ea976ca 100755 (executable)
@@ -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])