mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
auto-t: fix testConnectAutoconnect
There was no open ssid provisioning file, which was fine as the first test should have created one. But to be safe, include one explicitly and use the proper setUp/tearDown functions.
This commit is contained in:
parent
6a4fffe6da
commit
2dec023f63
@ -24,6 +24,10 @@ class TestOpenNetwork(unittest.TestCase):
|
|||||||
tca.validate('ssidOpen', False)
|
tca.validate('ssidOpen', False)
|
||||||
tca.validate('ssidOpen', True)
|
tca.validate('ssidOpen', True)
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
IWD.copy_to_storage('ssidOpen.open')
|
||||||
|
|
||||||
|
def tearDown(self):
|
||||||
IWD.clear_storage()
|
IWD.clear_storage()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
0
autotests/testConnectAutoconnect/ssidOpen.open
Normal file
0
autotests/testConnectAutoconnect/ssidOpen.open
Normal file
Loading…
Reference in New Issue
Block a user