diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-15 02:55:35 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-15 02:55:35 +0100 |
commit | 5f9427b70d3e710e02179f11d39e9407be049632 (patch) | |
tree | 3bfbcb8496d0249f29f523a1ee088664bf3729a5 /test/test-manager | |
parent | 800c08ed4d45aa21f6540b49e34a8a36d44f2542 (diff) | |
download | connman-5f9427b70d3e710e02179f11d39e9407be049632.tar.gz connman-5f9427b70d3e710e02179f11d39e9407be049632.tar.bz2 connman-5f9427b70d3e710e02179f11d39e9407be049632.zip |
Handle signal strength property
Diffstat (limited to 'test/test-manager')
-rwxr-xr-x | test/test-manager | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test-manager b/test/test-manager index afeb110f..c99b54ba 100755 --- a/test/test-manager +++ b/test/test-manager @@ -30,7 +30,13 @@ def print_properties(key, value): for key in properties.keys(): if (key == "Networks"): continue - print " %s = %s" % (key, properties[key]) + + if (key == "Strength"): + val = int(properties[key]) + else: + val = str(properties[key]) + + print " %s = %s" % (key, val) if "Networks" in properties.keys(): list = "" |