Commit 057ef25e authored by louiz’'s avatar louiz’

Create oragono TLS certificate automatically before each e2e run

parent a156b751
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment