mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: Cleanup after a failure
This commit is contained in:
parent
fb8063f37f
commit
ca183343e2
@ -31,7 +31,11 @@ class TestConnectAutoconnect(unittest.TestCase):
|
||||
ordered_network.network_object.connect()
|
||||
return
|
||||
else:
|
||||
ordered_network.network_object.connect()
|
||||
try:
|
||||
ordered_network.network_object.connect()
|
||||
except:
|
||||
del wd
|
||||
raise
|
||||
|
||||
condition = 'obj.connected'
|
||||
wd.wait_for_object_condition(ordered_network.network_object, condition)
|
||||
|
Loading…
Reference in New Issue
Block a user