summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-22 21:30:59 +0200
committerlouiz’ <louiz@louiz.org>2016-08-22 21:30:59 +0200
commitf7fa34436a4d0f92d8d454ceb48d3df111c822b1 (patch)
tree0c1987d4f18f1121d1b79611789cd042611893bc /tests/end_to_end
parente13d3fdf4d4754c85e7e05e98592afb71d22be3b (diff)
downloadbiboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.gz
biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.bz2
biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.xz
biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.zip
Delete the database before each e2e test, to start fresh
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 21718f6..dbbbe88 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -254,6 +254,8 @@ class BiboumiTest:
with open("test.conf", "w") as fd:
fd.write(confs[scenario.conf])
+ os.remove("e2e_test.sqlite")
+
# Start the XMPP component and biboumi
biboumi = BiboumiRunner(scenario.name, with_valgrind)
xmpp = XMPPComponent(self.scenario, biboumi)