summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-23 20:57:57 +0200
committerlouiz’ <louiz@louiz.org>2016-08-23 11:58:30 +0200
commit20b187daa02a2fc4eda708ac3be406b88060c06c (patch)
tree9650c93da36ddd3d9fe7059d8d33926978f0b3ad /tests/end_to_end
parent00e88f6b2a8aa97d94ccb3ea24dec3f407b08597 (diff)
downloadbiboumi-20b187daa02a2fc4eda708ac3be406b88060c06c.tar.gz
biboumi-20b187daa02a2fc4eda708ac3be406b88060c06c.tar.bz2
biboumi-20b187daa02a2fc4eda708ac3be406b88060c06c.tar.xz
biboumi-20b187daa02a2fc4eda708ac3be406b88060c06c.zip
Do not fail e2e if the database cannot be removed because it's not there
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index dbbbe88..c534608 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -254,7 +254,10 @@ class BiboumiTest:
with open("test.conf", "w") as fd:
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
biboumi = BiboumiRunner(scenario.name, with_valgrind)