Commit 8eb4eb3e authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[1704] Assert that the lockfile_test directory exists, and is removed

parent e72bc121
......@@ -1467,9 +1467,11 @@ class TestFunctions(unittest.TestCase):
def setUp(self):
if not os.path.isdir(os.environ["LOCKFILE_TESTPATH"]):
os.mkdir(os.environ["LOCKFILE_TESTPATH"])
self.assertTrue(os.path.isdir(os.environ["LOCKFILE_TESTPATH"]))
def tearDown(self):
os.rmdir(os.environ["LOCKFILE_TESTPATH"])
self.assertFalse(os.path.isdir(os.environ["LOCKFILE_TESTPATH"]))
def test_remove_lock_files(self):
if "B10_FROM_BUILD" in os.environ:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment