summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/events_test.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/events_test.py b/tests/events_test.py
index 5e5b13f..110dfb4 100644
--- a/tests/events_test.py
+++ b/tests/events_test.py
@@ -37,7 +37,8 @@ from combox.file import (relative_path, purge_dir,
from combox.silo import ComboxSilo
from tests.utils import (get_config, shardedp, dirp, renamedp,
- path_deletedp, rm_nodedirs, rm_configdir)
+ path_deletedp, rm_nodedirs, rm_configdir,
+ purge_nodedirs)
class TestEvents(object):
@@ -221,6 +222,11 @@ class TestEvents(object):
assert not silo.stale(self.lorem_ipsum)
+ def teardown(self):
+ """Cleans up things after each test in this class"""
+ purge_nodedirs(self.config)
+
+
@classmethod
def teardown_class(self):
"""Purge the mess created by this test"""