Browse Source

[1704] Assert that the lockfiles exist

Mukund Sivaraman 13 years ago
parent
commit
277be10c90
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bin/bind10/tests/bind10_test.py.in

+ 1 - 0
src/bin/bind10/tests/bind10_test.py.in

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