From 34a16cc3233ebb4c1297920311fbc397042154b6 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 20 Dec 2015 10:52:32 +0100 Subject: [PATCH] Make Sopel timeout faster so it does not hang tests. --- irctest/controllers/sopel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/irctest/controllers/sopel.py b/irctest/controllers/sopel.py index 78678aa..99d6241 100644 --- a/irctest/controllers/sopel.py +++ b/irctest/controllers/sopel.py @@ -12,15 +12,16 @@ use_ssl = false port = {port} owner = me channels = +timeout = 5 auth_username = {username} auth_password = {password} {auth_method} """ class SopelController(BaseClientController): - supported_sasl_mechanisms = [ + supported_sasl_mechanisms = { 'PLAIN', - ] + } def __init__(self): super().__init__() self.filename = next(tempfile._get_candidate_names()) + '.cfg'