end_to_end creates a config file before running biboumi
This commit is contained in:
@@ -151,6 +151,9 @@ class BiboumiTest:
|
|||||||
format='%(levelname)-8s %(message)s',
|
format='%(levelname)-8s %(message)s',
|
||||||
filename=output_filename)
|
filename=output_filename)
|
||||||
|
|
||||||
|
with open("test.conf", "w") as fd:
|
||||||
|
fd.write(confs['basic'])
|
||||||
|
|
||||||
# Start the XMPP component and biboumi
|
# Start the XMPP component and biboumi
|
||||||
biboumi = BiboumiRunner(scenario.name, with_valgrind)
|
biboumi = BiboumiRunner(scenario.name, with_valgrind)
|
||||||
xmpp = XMPPComponent(self.scenario, biboumi)
|
xmpp = XMPPComponent(self.scenario, biboumi)
|
||||||
@@ -176,6 +179,11 @@ class BiboumiTest:
|
|||||||
|
|
||||||
return not failed
|
return not failed
|
||||||
|
|
||||||
|
confs = {'basic':
|
||||||
|
"""hostname=biboumi.localhost
|
||||||
|
password=coucou
|
||||||
|
db_name=biboumi.sqlite
|
||||||
|
port=8811"""}
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user