summaryrefslogtreecommitdiff
path: root/test/test-manager
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-manager')
-rwxr-xr-xtest/test-manager12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/test-manager b/test/test-manager
index 2a80b757..6c694a09 100755
--- a/test/test-manager
+++ b/test/test-manager
@@ -33,7 +33,7 @@ properties = manager.GetProperties()
def print_properties(key, value):
if key == "Profiles":
interface = "org.moblin.connman.Profile"
- elif key in ["Services", "Providers"]:
+ elif key == "Services":
interface = "org.moblin.connman.Service"
elif key == "Technologies":
interface = "org.moblin.connman.Technology"
@@ -49,7 +49,7 @@ def print_properties(key, value):
properties = obj.GetProperties()
for key in properties.keys():
- if key in ["Services", "Providers", "Technologies"]:
+ if key in ["Services", "Technologies"]:
continue
elif key in ["Powered", "Scanning", "Connected",
@@ -85,16 +85,10 @@ def print_properties(key, value):
val = str(path)
list = list + val[val.rfind("/") + 1:] + " "
print " Services = [ %s]" % (list)
- if "Providers" in properties.keys():
- list = ""
- for path in properties["Providers"]:
- val = str(path)
- list = list + val[val.rfind("/") + 1:] + " "
- print " Providers = [ %s]" % (list)
for key in properties.keys():
- if key in ["Profiles", "Services", "Providers", "Technologies"]:
+ if key in ["Profiles", "Services", "Technologies"]:
print_properties(key, properties[key])
elif key in ["AvailableTechnologies", "EnabledTechnologies",
"ConnectedTechnologies",