Commit 277be10c authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[1704] Assert that the lockfiles exist

parent 8eb4eb3e
...@@ -1487,6 +1487,7 @@ class TestFunctions(unittest.TestCase): ...@@ -1487,6 +1487,7 @@ class TestFunctions(unittest.TestCase):
fname = os.environ["B10_FROM_BUILD"] + '/' + f fname = os.environ["B10_FROM_BUILD"] + '/' + f
if not os.path.isfile(fname): if not os.path.isfile(fname):
open(fname, "w").close() open(fname, "w").close()
self.assertTrue(os.path.isfile(fname))
# first call should clear up all the lockfiles # first call should clear up all the lockfiles
bind10_src.remove_lock_files() bind10_src.remove_lock_files()
......
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