void-packages/srcpkgs/python3-Twisted/patches/crypt_spaces.patch

16 lines
705 B
Diff

diff --git a/src/twisted/conch/test/test_checkers.py b/src/twisted/conch/test/test_checkers.py
index 555ec6e..e97463e 100644
--- a/src/twisted/conch/test/test_checkers.py
+++ b/src/twisted/conch/test/test_checkers.py
@@ -99,8 +99,8 @@ class HelperTests(TestCase):
L{verifyCryptedPassword} returns C{False} if the plaintext password
passed to it does not match the encrypted password passed to it.
"""
- password = "string secret"
- wrong = "secret string"
+ password = "string_secret"
+ wrong = "secret_string"
crypted = crypt.crypt(password, password)
self.assertFalse(
checkers.verifyCryptedPassword(crypted, wrong),