summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-19 18:50:18 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-19 18:50:18 -0800
commite07b77c03e70302051d9f6b31f159dd6d3f97338 (patch)
tree3183c44f3a3e134d31e2fc04066527f44570a56f /test
parentee9f4754caf6e114542a8f1929d8fbd7d906bfe7 (diff)
downloadconnman-e07b77c03e70302051d9f6b31f159dd6d3f97338.tar.gz
connman-e07b77c03e70302051d9f6b31f159dd6d3f97338.tar.bz2
connman-e07b77c03e70302051d9f6b31f159dd6d3f97338.zip
Remove deprecated test script for connection interface
Diffstat (limited to 'test')
-rwxr-xr-xtest/monitor-services2
-rwxr-xr-xtest/select-connection23
2 files changed, 1 insertions, 24 deletions
diff --git a/test/monitor-services b/test/monitor-services
index a334d99c..c435a34a 100755
--- a/test/monitor-services
+++ b/test/monitor-services
@@ -11,7 +11,7 @@ def property_changed(name, value, path, interface):
if iface not in ["Service"]:
return
if name in ["Profiles", "Services", "Providers",
- "Devices", "Networks", "Connections"]:
+ "Devices", "Networks"]:
val = "["
for i in value:
val = val + " " + i[i.rfind("/") + 1:]
diff --git a/test/select-connection b/test/select-connection
deleted file mode 100755
index 34d1f93c..00000000
--- a/test/select-connection
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/python
-
-import dbus
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
- "org.moblin.connman.Manager")
-
-properties = manager.GetProperties()
-
-for path in properties["Connections"]:
- connection = dbus.Interface(bus.get_object("org.moblin.connman", path),
- "org.moblin.connman.Connection")
-
- properties = connection.GetProperties()
-
- if (properties["Default"] == dbus.Boolean(1)):
- continue
-
- print "[ %s ]" % (path)
-
- connection.SetProperty("Default", dbus.Boolean(1))