commit 43e9cce1dc4d5efafe7de44269444d8c43d463ea
parent 07cee0e202af92de005564299c86e7f97dd5e7db
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Thu, 1 Aug 2019 15:08:34 -0700
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.
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/autotests/testHotspot/hessid_test.py b/autotests/testHotspot/hessid_test.py
@@ -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)
diff --git a/autotests/testHotspot/hotspot_test.py b/autotests/testHotspot/hotspot_test.py
@@ -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)
diff --git a/autotests/testHotspot/roaming_test.py b/autotests/testHotspot/roaming_test.py
@@ -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)