Parcourir la source

[1704] Assert that the lockfiles exist

Mukund Sivaraman il y a 13 ans
Parent
commit
277be10c90
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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()