From 057ef25eead3dc055446f445047e455255267629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Tue, 24 Mar 2020 23:11:14 +0100 Subject: Create oragono TLS certificate automatically before each e2e run --- tests/end_to_end/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index e4d7671..1e4ffca 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -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) -- cgit v1.2.3