diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 15:54:16 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 15:54:16 +0200 |
commit | 0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500 (patch) | |
tree | ff1fdbf5aa545d92a04e7a37ed77076a7f59ba3a /test | |
parent | fa1d7b70dfa10b7af44909573e9c59f9c538850b (diff) | |
download | connman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.tar.gz connman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.tar.bz2 connman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.zip |
Add support for Technologies and EnabledTechnologies properties
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-manager | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test-manager b/test/test-manager index 28a20dee..c27ebedf 100755 --- a/test/test-manager +++ b/test/test-manager @@ -58,10 +58,21 @@ def print_properties(key, value): val = str(path) list = list + val[val.rfind("/") + 1:] + " " print " Services = [ %s]" % (list) + if "Technologies" in properties.keys(): + list = "" + for val in properties["Technologies"]: + list = list + val + " " + print " Technologies = [ %s]" % (list) for key in properties.keys(): if key in ["Profiles", "Devices", "Connections", "Services"]: print_properties(key, properties[key]) + elif key in ["Technologies", "EnabledTechnologies"]: + print "%s" % (key) + list = "" + for val in properties[key]: + list = list + val + " " + print " [ %s]" % (list) elif key in ["OfflineMode"]: print "%s" % (key) if properties[key] == dbus.Boolean(1): |