summaryrefslogtreecommitdiff
path: root/passlib/tests/utils.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2011-03-17 17:44:42 -0400
committerEli Collins <elic@assurancetechnologies.com>2011-03-17 17:44:42 -0400
commit72b370d8506a8a494e6841ffc4673ed63fdcfef4 (patch)
tree157cee85c815fd25c79342268cb8a7c9904608d4 /passlib/tests/utils.py
parent1f9b8fa19aee1aa3be5a826b6d15adbcb3d14539 (diff)
downloadpasslib-72b370d8506a8a494e6841ffc4673ed63fdcfef4.tar.gz
to simplify things, merged StaticHash's minimal amount of code into ExtHash, and removed StaticHash entirely
Diffstat (limited to 'passlib/tests/utils.py')
-rw-r--r--passlib/tests/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/passlib/tests/utils.py b/passlib/tests/utils.py
index f92e3d1..e44db7a 100644
--- a/passlib/tests/utils.py
+++ b/passlib/tests/utils.py
@@ -18,7 +18,7 @@ except ImportError: #wasn't added until py26
from nose.plugins.skip import SkipTest
#pkg
from passlib.utils import classproperty
-from passlib.utils.drivers import BaseHash, BackendMixin
+from passlib.utils.drivers import BaseHash, BackendExtHash
#local
__all__ = [
#util funcs
@@ -330,7 +330,7 @@ class HandlerCase(TestCase):
h.validate_class() #should raise AssertionError if something's wrong.
def test_05_backend_handler(self):
- "check configuration of BackendMixin-derived classes"
+ "check configuration of multi-backend classes"
h = self.handler
if not hasattr(h, "get_backend"):
raise SkipTest
@@ -604,7 +604,7 @@ class HandlerCase(TestCase):
#=========================================================
def enable_backend_case(handler, name):
"helper to check if a separate test is needed for the specified backend"
- assert issubclass(handler, BackendMixin), "handler must derived from BackendMixin"
+ assert issubclass(handler, BackendExtHash), "handler must derived from BackendExtHash"
assert name in handler.backends, "unknown backend: %r" % (name,)
return enable_option("all-backends") and handler.get_backend() != name and handler.has_backend(name)