Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
8eb4eb3e
Commit
8eb4eb3e
authored
May 28, 2012
by
Mukund Sivaraman
Browse files
[1704] Assert that the lockfile_test directory exists, and is removed
parent
e72bc121
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/tests/bind10_test.py.in
View file @
8eb4eb3e
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment