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
1 changed files with 7 additions and 0 deletions

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'