diff options
author | louiz’ <louiz@louiz.org> | 2016-08-22 21:30:59 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-08-22 21:30:59 +0200 |
commit | f7fa34436a4d0f92d8d454ceb48d3df111c822b1 (patch) | |
tree | 0c1987d4f18f1121d1b79611789cd042611893bc | |
parent | e13d3fdf4d4754c85e7e05e98592afb71d22be3b (diff) | |
download | biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.gz biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.bz2 biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.tar.xz biboumi-f7fa34436a4d0f92d8d454ceb48d3df111c822b1.zip |
Delete the database before each e2e test, to start fresh
-rw-r--r-- | tests/end_to_end/__main__.py | 2 |
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) |