From 7b3d88d5639afc1e5898cb6ae340ccaec45b95e2 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 20 Dec 2015 13:29:16 +1000 Subject: [PATCH] controllers: Add supported SASL mechanism lists --- irctest/controllers/limnoria.py | 2 ++ irctest/controllers/sopel.py | 1 + 2 files changed, 3 insertions(+) diff --git a/irctest/controllers/limnoria.py b/irctest/controllers/limnoria.py index 1b096ab..ca01b9e 100644 --- a/irctest/controllers/limnoria.py +++ b/irctest/controllers/limnoria.py @@ -23,6 +23,8 @@ class LimnoriaController(BaseClientController, DirectoryBasedController): pass with self.open_file('conf/users.conf'): pass + self.supported_sasl_mechanisms = [ + 'PLAIN', 'ECDSA-NIST256P-CHALLENGE', 'EXTERNAL'] def run(self, hostname, port, auth): # Runs a client with the config given as arguments diff --git a/irctest/controllers/sopel.py b/irctest/controllers/sopel.py index de30383..280d55a 100644 --- a/irctest/controllers/sopel.py +++ b/irctest/controllers/sopel.py @@ -22,6 +22,7 @@ class SopelController(BaseClientController): super().__init__() self.filename = next(tempfile._get_candidate_names()) + '.cfg' self.proc = None + self.supported_sasl_mechanisms = ['PLAIN'] def kill(self): if self.proc: self.proc.kill()