test: Remove handling of no longer existing properties
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Apr 2012 12:28:39 +0000 (14:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Apr 2012 12:28:39 +0000 (14:28 +0200)
test/monitor-connman
test/monitor-manager
test/test-manager

index 4d44519..1fe85c7 100755 (executable)
@@ -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)
index 05e1efd..7620b35 100755 (executable)
@@ -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:
index 80527d9..2b4493c 100755 (executable)
@@ -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"