~singpolyma/biboumi

057ef25eead3dc055446f445047e455255267629 — louiz’ 2 years ago a156b75
Create oragono TLS certificate automatically before each e2e run
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
@@ 3,6 3,7 @@
from functions import StanzaError, SkipStepError

import collections
import subprocess
import importlib
import sequences
import datetime


@@ 183,6 184,7 @@ class BiboumiRunner(ProcessRunner):
class IrcServerRunner(ProcessRunner):
    def __init__(self):
        super().__init__()
        subprocess.run(["oragono", "mkcerts", "--conf", os.getcwd() + "/../tests/end_to_end/ircd.yaml"])
        self.create = asyncio.create_subprocess_exec("oragono", "run", "--conf", os.getcwd() + "/../tests/end_to_end/ircd.yaml",
                                                     stderr=asyncio.subprocess.PIPE)