From 3932a40d742271407d48eb7b0dc1cf1b6bf365bc Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 19 Feb 2021 23:00:00 +0100 Subject: [PATCH] Fix client tests broken by a14ebf9ec2c40a25db8c4e2bb86246d2a8c75bb7. --- irctest/client_tests/test_sasl.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/irctest/client_tests/test_sasl.py b/irctest/client_tests/test_sasl.py index 0ec4d7e..2e61a16 100644 --- a/irctest/client_tests/test_sasl.py +++ b/irctest/client_tests/test_sasl.py @@ -1,8 +1,9 @@ import base64 -# TODO: figure this out if we ever implement SCRAM -#import pyxmpp2_scram as scram -scram = None +try: + import pyxmpp2_scram as scram +except ImportError: + scram = None from irctest import cases from irctest import authentication