summaryrefslogtreecommitdiffstats
path: root/tests/file_test.py
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-02-13 11:12:28 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-02-13 11:12:28 -0500
commitb15e57265e8593e3a085f0b44858f60878289435 (patch)
tree8c6befb36df33812639b2c32c0a6975f62d98c32 /tests/file_test.py
parentc9a5290224dd7254a23cb6e5e3baa43a21fd2362 (diff)
All the tests now remove the node directories (tests/shard-dir-0 & tests/shard-dir-1) in the teardown method.
modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py modified: tests/silo_test.py deleted: tests/shard-dir-0/.foo deleted: tests/shard-dir-1/.foo
Diffstat (limited to 'tests/file_test.py')
-rw-r--r--tests/file_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/file_test.py b/tests/file_test.py
index e08dafa..04670f2 100644
--- a/tests/file_test.py
+++ b/tests/file_test.py
@@ -27,7 +27,7 @@ from combox.config import get_nodedirs
from combox.file import (split_data, glue_data, write_file,
read_file, write_shards, read_shards,
hash_file, rm_shards)
-from tests.utils import get_config
+from tests.utils import get_config, rm_nodedirs
class TestFile(object):
@@ -100,3 +100,4 @@ class TestFile(object):
"""Purge the mess created by this test."""
rm_shards(self.TEST_FILE, self.config)
+ rm_nodedirs(self.config)