Fix support for Anope >= Anope 2.1.12

Anope now rejects passwords too long for bcrypt to handle:
d460b267e3
This commit is contained in:
2025-01-26 20:20:04 +01:00
parent 06e08b52be
commit de17d2b2c0

View File

@ -82,7 +82,7 @@ class SaslTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("IRCv3")
@cases.skipUnlessHasMechanism("PLAIN")
def testPlainNonAscii(self):
password = "é" * 100
password = "é" * 30
authstring = base64.b64encode(
b"\x00".join([b"foo", b"foo", password.encode()])
).decode()