Create oragono TLS certificate automatically before each e2e run
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user