summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-03-24 23:11:14 +0100
committerlouiz’ <louiz@louiz.org>2020-05-05 21:10:46 +0200
commit057ef25eead3dc055446f445047e455255267629 (patch)
treee351f0c544ce8b7bbbedcde6018afb99a332d4cf /tests/end_to_end
parenta156b7514ebc1d2988bfff9402e9f0dbe527497b (diff)
downloadbiboumi-057ef25eead3dc055446f445047e455255267629.tar.gz
biboumi-057ef25eead3dc055446f445047e455255267629.tar.bz2
biboumi-057ef25eead3dc055446f445047e455255267629.tar.xz
biboumi-057ef25eead3dc055446f445047e455255267629.zip
Create oragono TLS certificate automatically before each e2e run
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 2 insertions, 0 deletions
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)