3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

auto-t: Make sure to disable autoconnect

This commit is contained in:
Denis Kenzior 2018-08-10 15:40:22 -05:00
parent 0c2b9f15c4
commit d8882a75e5

View File

@ -39,6 +39,13 @@ class Test(unittest.TestCase):
psk_agent = PSKAgent('Password1')
wd.register_psk_agent(psk_agent)
try:
dev2.disconnect()
condition = 'not obj.connected'
wd.wait_for_object_condition(dev2, condition)
except:
pass
ordered_network.network_object.connect()
condition = 'obj.connected'