combox

split and encrypted files between online file storage providers
git clone git://git.ricketyspace.net/combox.git
Log | Files | Refs

commit cf1ae1096bda6afba8f4cc1fd0a58432d92fcae6
parent ef9eaa1848954d6316572871bd9c641d34ab45da
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Fri, 20 Feb 2015 09:04:07 -0500

modded tests/events_test.TestEvents.teardown method

This method now checks if the `silo.db' exists before deleting it.

Diffstat:
tests/events_test.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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):