diff options
author | louiz’ <louiz@louiz.org> | 2016-08-23 20:57:57 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-08-23 11:58:30 +0200 |
commit | 20b187daa02a2fc4eda708ac3be406b88060c06c (patch) | |
tree | 9650c93da36ddd3d9fe7059d8d33926978f0b3ad | |
parent | 00e88f6b2a8aa97d94ccb3ea24dec3f407b08597 (diff) | |
download | biboumi-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
-rw-r--r-- | tests/end_to_end/__main__.py | 5 |
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) |