summaryrefslogtreecommitdiff
path: root/Mailman/testing/test_passwords.py
diff options
context:
space:
mode:
authortkikuchi2007-03-20 06:36:28 +0000
committertkikuchi2007-03-20 06:36:28 +0000
commit03db19fb63df5b4adf525361640743d90a7e10e1 (patch)
treef361521f59b75032cf7bd2c2613c2898c3b6eeff /Mailman/testing/test_passwords.py
parent3ac2265899adab0c477b21bd7c9d6e0a267fa77d (diff)
downloadmailman-03db19fb63df5b4adf525361640743d90a7e10e1.tar.gz
mailman-03db19fb63df5b4adf525361640743d90a7e10e1.tar.zst
mailman-03db19fb63df5b4adf525361640743d90a7e10e1.zip
Scheme is selected by TAG. Use string not object reference.
Diffstat (limited to 'Mailman/testing/test_passwords.py')
-rw-r--r--Mailman/testing/test_passwords.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/testing/test_passwords.py b/Mailman/testing/test_passwords.py
index 1d4899f8f..b957b10ae 100644
--- a/Mailman/testing/test_passwords.py
+++ b/Mailman/testing/test_passwords.py
@@ -98,23 +98,23 @@ class TestBogusPasswords(TestPasswordsBase):
class TestNonePasswords(TestBogusPasswords):
- scheme = passwords.Schemes.no_scheme
+ scheme = 'no_scheme'
class TestCleartextPasswords(TestPasswordsBase):
- scheme = passwords.Schemes.cleartext
+ scheme = 'cleartext'
class TestSHAPasswords(TestPasswordsBase):
- scheme = passwords.Schemes.sha
+ scheme = 'sha'
class TestSSHAPasswords(TestPasswordsBase):
- scheme = passwords.Schemes.ssha
+ scheme = 'ssha'
class TestPBKDF2Passwords(TestPasswordsBase):
- scheme = passwords.Schemes.pbkdf2
+ scheme = 'pbkdf2'