auto-t: fix hotspot tests to remove main.conf

The hotspot tests were not cleaning up /tmp/main.conf, which resulted
in future tests failing.
This commit is contained in:
James Prestwood 2019-08-01 15:08:34 -07:00 committed by Denis Kenzior
parent 07cee0e202
commit 43e9cce1dc
3 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class Test(unittest.TestCase):
@classmethod
def tearDownClass(cls):
IWD.clear_storage()
os.remove('/tmp/main.conf')
if __name__ == '__main__':
unittest.main(exit=True)

View File

@ -64,6 +64,7 @@ class Test(unittest.TestCase):
@classmethod
def tearDownClass(cls):
IWD.clear_storage()
os.remove('/tmp/main.conf')
if __name__ == '__main__':
unittest.main(exit=True)

View File

@ -64,6 +64,7 @@ class Test(unittest.TestCase):
@classmethod
def tearDownClass(cls):
IWD.clear_storage()
os.remove('/tmp/main.conf')
if __name__ == '__main__':
unittest.main(exit=True)