mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-29 05:39:24 +01:00
auto-t: use tearDownClass in hidden network test
A failure in this test could leave stale network profiles, which may cause future tests to fail.
This commit is contained in:
parent
e4b78d83d6
commit
e782911d33
@ -24,6 +24,8 @@ class TestOpenNetwork(unittest.TestCase):
|
||||
tca.validate('ssidHiddenOpen', False)
|
||||
tca.validate('ssidHiddenOpen', True)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
IWD.clear_storage()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -25,6 +25,8 @@ class TestWpaNetwork(unittest.TestCase):
|
||||
tca.validate('ssidHiddenWPA', False, None, True)
|
||||
tca.validate('ssidHiddenWPA', True, None, True)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
IWD.clear_storage()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user