summaryrefslogtreecommitdiffstats
path: root/tests/events_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/events_test.py')
-rw-r--r--tests/events_test.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/events_test.py b/tests/events_test.py
index 40ff751..2ba375a 100644
--- a/tests/events_test.py
+++ b/tests/events_test.py
@@ -516,13 +516,9 @@ class TestEvents(object):
def teardown(self):
"""Cleans up things after each test in this class"""
- purge_nodedirs(self.config)
-
- silo_path = path.join(self.config['silo_dir'], 'silo.db')
-
- if path.exists(silo_path):
- os.remove(silo_path)
+ purge_nodedirs(self.config)
+ self.silo.db.deldb()
purge(self.purge_list)