summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-04-21 10:14:17 +0200
committerlouiz’ <louiz@louiz.org>2016-04-22 10:49:07 +0200
commit71b3f8f50b2831142ec50c725f07333ab948c169 (patch)
tree435675eb306826356163b15ef7dacc5077aa478f
parent04facc515ce2bc32249fa4cf2cdadb75a8bcb3ea (diff)
downloadbiboumi-71b3f8f50b2831142ec50c725f07333ab948c169.tar.gz
biboumi-71b3f8f50b2831142ec50c725f07333ab948c169.tar.bz2
biboumi-71b3f8f50b2831142ec50c725f07333ab948c169.tar.xz
biboumi-71b3f8f50b2831142ec50c725f07333ab948c169.zip
Correct charybdis config file path
-rw-r--r--tests/end_to_end/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 58165d9..2efbf24 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -9,6 +9,7 @@ import atexit
import lxml.etree
import sys
import io
+import os
from functools import partial
from slixmpp.xmlstream.matcher.base import MatcherBase
@@ -184,7 +185,7 @@ class BiboumiRunner(ProcessRunner):
class IrcServerRunner(ProcessRunner):
def __init__(self):
super().__init__()
- self.create = asyncio.create_subprocess_exec("charybdis", "-foreground", "-configfile", "../tests/end_to_end/ircd.conf",
+ self.create = asyncio.create_subprocess_exec("charybdis", "-foreground", "-configfile", os.getcwd() + "/../tests/end_to_end/ircd.conf",
stderr=asyncio.subprocess.PIPE)