combox

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

commit 8a670ce3642d84cda9a4657d133da2b06b12ef3f
parent bd52ab66c8b60bb7882a8dd0fb513e2f7519d8e4
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Thu, 19 Feb 2015 22:07:26 -0500

combox/events.py: now the silo.db is purged after every test method in EventsTest class.

Diffstat:
tests/events_test.py | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/tests/events_test.py b/tests/events_test.py @@ -226,26 +226,21 @@ class TestEvents(object): """Cleans up things after each test in this class""" purge_nodedirs(self.config) + silo_path = path.join(self.config['silo_dir'], 'silo.db') + os.remove(silo_path) @classmethod def teardown_class(self): """Purge the mess created by this test""" - silo = ComboxSilo(self.config) - rm_shards(self.TEST_FILE, self.config) os.remove(self.lorem_ipsum) rm_shards(self.lorem_ipsum, self.config) - silo.remove(self.lorem_ipsum) rm_shards(self.lorem, self.config) - silo.remove(self.lorem) rm_shards(self.ipsum, self.config) - silo.remove(self.ipsum) - - silo.remove(self.TEST_FILE) rm_nodedirs(self.config) rm_configdir()