combox

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

commit 342767aa0cc25dbecf519d33e04d9a791fc34320
parent 3ec2013eabf49ed864efcd9ae04ea8ccb63a6816
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Fri,  3 Apr 2015 11:45:11 -0400

modded teardown method in tests.events_test.TestEvents.

the silo is purged using the deldb method instead of doing a os.remove.

     modfied:   tests/events_test.py

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

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