~singpolyma/biboumi

f7fa34436a4d0f92d8d454ceb48d3df111c822b1 — louiz’ 8 years ago e13d3fd
Delete the database before each e2e test, to start fresh
1 files changed, 2 insertions(+), 0 deletions(-)

M tests/end_to_end/__main__.py
M tests/end_to_end/__main__.py => tests/end_to_end/__main__.py +2 -0
@@ 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)