From b15e57265e8593e3a085f0b44858f60878289435 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Fri, 13 Feb 2015 11:12:28 -0500 Subject: 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 --- tests/file_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/file_test.py') 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) -- cgit v1.2.3