Set ignore errors flag to True

Tests were failing in Windows 7 64 bit - see

http://stackoverflow.com/a/21966211/2800058
This commit is contained in:
Paul Cunningham
2015-06-09 14:13:35 +01:00
parent bac14c4403
commit 4cbbddc970
+1 -1
View File
@@ -86,7 +86,7 @@ class Tests(TestCase):
self.all_inst = [self.u1, self.u2, self.u3, self.e1, self.e2, self.e3, self.e4]
def tearDown(self):
shutil.rmtree(self.app.config['WHOOSHEE_DIR'])
shutil.rmtree(self.app.config['WHOOSHEE_DIR'], ignore_errors=True)
Whooshee.whoosheers = []
self.db.drop_all()