3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

test: Update to the new wsc api naming

This commit is contained in:
Denis Kenzior 2019-10-24 10:43:08 -05:00
parent a06583ffc4
commit f97bca55e9
4 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ def properties_changed(interface, changed, invalidated, path):
relevant_ifaces = [ "net.connman.iwd.Device",
"net.connman.iwd.Adapter",
"net.connman.iwd.WiFiSimpleConfiguration",
"net.connman.iwd.SimpleConfiguration",
"net.connman.iwd.AccessPoint",
"net.connman.iwd.AdHoc",
"net.connman.iwd.Network",

View File

@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
bus = dbus.SystemBus()
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
"net.connman.iwd.WiFiSimpleConfiguration")
"net.connman.iwd.SimpleConfiguration")
wsc.Cancel()

View File

@ -9,7 +9,7 @@ if (len(sys.argv) != 2 and len(sys.argv) != 3):
bus = dbus.SystemBus()
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
"net.connman.iwd.WiFiSimpleConfiguration")
"net.connman.iwd.SimpleConfiguration")
if (len(sys.argv) == 3):
pin = sys.argv[2]

View File

@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
bus = dbus.SystemBus()
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
"net.connman.iwd.WiFiSimpleConfiguration")
"net.connman.iwd.SimpleConfiguration")
wsc.PushButton()