summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-17 12:28:39 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-04-17 12:28:39 (GMT)
commit847e6316badf7ee0c15a7a451f909ce7045edfe8 (patch)
tree93bf749a71b5cdb50af0469a4418903dd529d52f /test
parente342e66049c919a22cdfe53b4fbf40a6c224f3d2 (diff)
downloadconnman-847e6316badf7ee0c15a7a451f909ce7045edfe8.zip
connman-847e6316badf7ee0c15a7a451f909ce7045edfe8.tar.gz
connman-847e6316badf7ee0c15a7a451f909ce7045edfe8.tar.bz2
test: Remove handling of no longer existing properties
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 4d44519..1fe85c7 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 05e1efd..7620b35 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 80527d9..2b4493c 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"