summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/monitor-connman4
-rwxr-xr-xtest/monitor-manager7
-rwxr-xr-xtest/test-manager8
3 files changed, 2 insertions, 17 deletions
diff --git a/test/monitor-connman b/test/monitor-connman
index 4d44519a..1fe85c7e 100755
--- a/test/monitor-connman
+++ b/test/monitor-connman
@@ -42,9 +42,7 @@ def extract(name, value):
val = int(value)
elif name in ["IPv4", "IPv6", "Ethernet", "Proxy" ]:
val = extract_values(value)
- elif name in ["Nameservers", "Domains", "Services",
- "Update", "Technologies", "AvailableTechnologies",
- "EnabledTechnologies", "ConnectedTechnologies" ]:
+ elif name in ["Nameservers", "Domains", "Services", "Technologies"]:
val = extract_list(value)
else:
val = str(value)
diff --git a/test/monitor-manager b/test/monitor-manager
index 05e1efd2..7620b35c 100755
--- a/test/monitor-manager
+++ b/test/monitor-manager
@@ -11,13 +11,6 @@ def property_changed(name, value):
for i in value:
val = val + " " + i[i.rfind("/") + 1:]
val = val + " ]"
- elif name in ["AvailableTechnologies", "EnabledTechnologies",
- "ConnectedTechnologies",
- "AvailableDebugs", "EnabledDebugs"]:
- val = "["
- for i in value:
- val = val + " " + i
- val = val + " ]"
elif name in ["Strength", "Priority"]:
val = int(value)
else:
diff --git a/test/test-manager b/test/test-manager
index 80527d9c..2b4493c5 100755
--- a/test/test-manager
+++ b/test/test-manager
@@ -31,13 +31,7 @@ manager = dbus.Interface(bus.get_object("net.connman", "/"),
properties = manager.GetProperties()
for key in properties.keys():
- if key in ["AvailableDebugs", "EnabledDebugs"]:
- print "%s" % (key)
- list = ""
- for val in properties[key]:
- list = list + val + " "
- print " [ %s]" % (list)
- elif key in ["OfflineMode", "SessionMode"]:
+ if key in ["OfflineMode", "SessionMode"]:
print "%s" % (key)
if properties[key] == dbus.Boolean(1):
print " true"