Try to workaround windows problems.

This commit is contained in:
Tomas Groth 2017-04-25 21:52:20 +02:00
parent bdfac76483
commit aa224b9568

View File

@ -48,7 +48,8 @@ class TestDB(TestCase):
"""
Clean up after tests
"""
shutil.rmtree(self.tmp_folder)
# Ignore errors since windows can have problems with locked files
shutil.rmtree(self.tmp_folder, ignore_errors=True)
def test_add_author(self):
"""