Start oragono instead of charybdis

This commit is contained in:
louiz’
2020-05-05 21:10:46 +02:00
parent eb976918f9
commit 81fb7389ae
3 changed files with 17 additions and 47 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ class BiboumiRunner(ProcessRunner):
class IrcServerRunner(ProcessRunner):
def __init__(self):
super().__init__()
self.create = asyncio.create_subprocess_exec("charybdis", "-foreground", "-configfile", os.getcwd() + "/../tests/end_to_end/ircd.conf",
self.create = asyncio.create_subprocess_exec("oragono", "run", "--conf", os.getcwd() + "/../tests/end_to_end/ircd.yaml",
stderr=asyncio.subprocess.PIPE)
class BiboumiTest:
@@ -324,7 +324,7 @@ if __name__ == '__main__':
if not res:
print("IRC server failed to start, see irc_output.txt for more details. Exiting…")
sys.exit(1)
if b"now running in foreground mode" in res:
if b"Server running" in res:
break
print("irc server started.")