diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 15:51:31 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 15:51:31 -0500 |
| commit | f77ddd297449870951cf4541f0ef042a17db616a (patch) | |
| tree | d5334575b7b031eada2b7a58216e247d3aa61411 /passlib/tests | |
| parent | d4ebb05e010b435c62eeb425059bc9d78e090660 (diff) | |
| download | passlib-f77ddd297449870951cf4541f0ef042a17db616a.tar.gz | |
renamed the utils.handlers.XX_CHARS constants to match utils.XX_CHARS (old aliases kept for now)
Diffstat (limited to 'passlib/tests')
| -rw-r--r-- | passlib/tests/test_utils_handlers.py | 2 | ||||
| -rw-r--r-- | passlib/tests/utils.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/passlib/tests/test_utils_handlers.py b/passlib/tests/test_utils_handlers.py index d2e262e..3f4fb60 100644 --- a/passlib/tests/test_utils_handlers.py +++ b/passlib/tests/test_utils_handlers.py @@ -421,7 +421,7 @@ class SaltedHash(uh.HasSalt, uh.GenericHandler): min_salt_size = 2 max_salt_size = 4 checksum_size = 40 - salt_chars = checksum_chars = uh.LC_HEX_CHARS + salt_chars = checksum_chars = uh.LOWER_HEX_CHARS @classmethod def identify(cls, hash): diff --git a/passlib/tests/utils.py b/passlib/tests/utils.py index 4d51e47..c9a5aff 100644 --- a/passlib/tests/utils.py +++ b/passlib/tests/utils.py @@ -33,7 +33,7 @@ if ut_version < 2: from passlib import registry, utils from passlib.utils import classproperty, handlers as uh, \ has_rounds_info, has_salt_info, MissingBackendError, \ - rounds_cost_values, b, bytes, NoneType + rounds_cost_values, b, bytes from passlib.utils.compat import iteritems, irange, callable, sb_types, \ exc_err, unicode #local @@ -821,7 +821,7 @@ class HandlerCase(TestCase): cs = self.do_genconfig() if self.genconfig_uses_hash: # unix fallback handler returns "!" as cs, - # which verify() accepts quite readily. + # which verify() accepts quite readily. self.assertFalse(self.do_verify(u(""), cs)) self.assertFalse(self.do_verify(u("stub"), cs)) else: |
