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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/events_test.py b/tests/events_test.py
index 87d36a0..a6a941b 100644
--- a/tests/events_test.py
+++ b/tests/events_test.py
@@ -227,7 +227,9 @@ class TestEvents(object):
purge_nodedirs(self.config)
silo_path = path.join(self.config['silo_dir'], 'silo.db')
- os.remove(silo_path)
+
+ if path.exists(silo_path):
+ os.remove(silo_path)
@classmethod
def teardown_class(self):