Do not fail e2e if the database cannot be removed because it's not there

This commit is contained in:
louiz’
2016-08-23 11:58:30 +02:00
parent 00e88f6b2a
commit 20b187daa0
+4 -1
View File
@@ -254,7 +254,10 @@ class BiboumiTest:
with open("test.conf", "w") as fd: with open("test.conf", "w") as fd:
fd.write(confs[scenario.conf]) fd.write(confs[scenario.conf])
os.remove("e2e_test.sqlite") try:
os.remove("e2e_test.sqlite")
except FileNotFoundError:
pass
# Start the XMPP component and biboumi # Start the XMPP component and biboumi
biboumi = BiboumiRunner(scenario.name, with_valgrind) biboumi = BiboumiRunner(scenario.name, with_valgrind)