summaryrefslogtreecommitdiffstats
path: root/tests/crypto_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/crypto_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/crypto_test.py')
-rw-r--r--tests/crypto_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/crypto_test.py b/tests/crypto_test.py
index 8712afe..00682b3 100644
--- a/tests/crypto_test.py
+++ b/tests/crypto_test.py
@@ -27,7 +27,7 @@ from shutil import copyfile
from combox.config import get_nodedirs
from combox.crypto import *
from combox.file import *
-from tests.utils import get_config
+from tests.utils import get_config, rm_nodedirs
class TestCrypto(object):
@@ -119,3 +119,4 @@ class TestCrypto(object):
rm_shards(self.TEST_FILE, self.config)
remove(self.TEST_FILE_COPY)
+ rm_nodedirs(self.config)