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:
parent
a06583ffc4
commit
f97bca55e9
@ -59,7 +59,7 @@ def properties_changed(interface, changed, invalidated, path):
|
|||||||
|
|
||||||
relevant_ifaces = [ "net.connman.iwd.Device",
|
relevant_ifaces = [ "net.connman.iwd.Device",
|
||||||
"net.connman.iwd.Adapter",
|
"net.connman.iwd.Adapter",
|
||||||
"net.connman.iwd.WiFiSimpleConfiguration",
|
"net.connman.iwd.SimpleConfiguration",
|
||||||
"net.connman.iwd.AccessPoint",
|
"net.connman.iwd.AccessPoint",
|
||||||
"net.connman.iwd.AdHoc",
|
"net.connman.iwd.AdHoc",
|
||||||
"net.connman.iwd.Network",
|
"net.connman.iwd.Network",
|
||||||
|
@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
|
|||||||
|
|
||||||
bus = dbus.SystemBus()
|
bus = dbus.SystemBus()
|
||||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
||||||
"net.connman.iwd.WiFiSimpleConfiguration")
|
"net.connman.iwd.SimpleConfiguration")
|
||||||
wsc.Cancel()
|
wsc.Cancel()
|
||||||
|
@ -9,7 +9,7 @@ if (len(sys.argv) != 2 and len(sys.argv) != 3):
|
|||||||
|
|
||||||
bus = dbus.SystemBus()
|
bus = dbus.SystemBus()
|
||||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
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):
|
if (len(sys.argv) == 3):
|
||||||
pin = sys.argv[2]
|
pin = sys.argv[2]
|
||||||
|
@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
|
|||||||
|
|
||||||
bus = dbus.SystemBus()
|
bus = dbus.SystemBus()
|
||||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
||||||
"net.connman.iwd.WiFiSimpleConfiguration")
|
"net.connman.iwd.SimpleConfiguration")
|
||||||
wsc.PushButton()
|
wsc.PushButton()
|
||||||
|
Loading…
Reference in New Issue
Block a user