~singpolyma/biboumi

1ee5f8e01a932b73628ed3f89e8c77c5fa25f1b0 — Florent Le Coz 6 years ago 51a34f8
end_to_end creates a config file before running biboumi
1 files changed, 8 insertions(+), 0 deletions(-)

M tests/end_to_end/__main__.py
M tests/end_to_end/__main__.py => tests/end_to_end/__main__.py +8 -0
@@ 151,6 151,9 @@ class BiboumiTest:
                            format='%(levelname)-8s %(message)s',
                            filename=output_filename)

        with open("test.conf", "w") as fd:
            fd.write(confs['basic'])

        # Start the XMPP component and biboumi
        biboumi = BiboumiRunner(scenario.name, with_valgrind)
        xmpp = XMPPComponent(self.scenario, biboumi)


@@ 176,6 179,11 @@ class BiboumiTest:

        return not failed

confs = {'basic':
"""hostname=biboumi.localhost
password=coucou
db_name=biboumi.sqlite
port=8811"""}

if __name__ == '__main__':