Make Sopel timeout faster so it does not hang tests.

This commit is contained in:
Valentin Lorentz 2015-12-20 10:52:32 +01:00
parent 62d176209c
commit 34a16cc323

View File

@ -12,15 +12,16 @@ use_ssl = false
port = {port} port = {port}
owner = me owner = me
channels = channels =
timeout = 5
auth_username = {username} auth_username = {username}
auth_password = {password} auth_password = {password}
{auth_method} {auth_method}
""" """
class SopelController(BaseClientController): class SopelController(BaseClientController):
supported_sasl_mechanisms = [ supported_sasl_mechanisms = {
'PLAIN', 'PLAIN',
] }
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self.filename = next(tempfile._get_candidate_names()) + '.cfg' self.filename = next(tempfile._get_candidate_names()) + '.cfg'