[Zodb-checkins] CVS: ZODB3/ZEO/tests - testAuth.py:1.1.2.3
Johan Dahlin
jdahlin at telia.com
Mon May 19 14:46:08 EDT 2003
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv17295/ZEO/tests
Modified Files:
Tag: ZODB3-auth-branch
testAuth.py
Log Message:
Merge AuthZEOStorage with ZEOStorage. Don't use __import__(). Introduce register_module() and get_module(). Use hmac.py from python 2.2 (for python 2.1 support)
=== ZODB3/ZEO/tests/testAuth.py 1.1.2.2 => 1.1.2.3 ===
--- ZODB3/ZEO/tests/testAuth.py:1.1.2.2 Tue May 13 16:43:17 2003
+++ ZODB3/ZEO/tests/testAuth.py Mon May 19 13:46:07 2003
@@ -20,7 +20,6 @@
from ThreadedAsync import LoopCallback
from ZEO.auth.database import Database
-#from ZEO.auth.auth_srp import SRPDatabase
from ZEO.auth.auth_digest import DigestDatabase
from ZEO.ClientStorage import ClientStorage
from ZEO.StorageServer import StorageServer
@@ -94,6 +93,7 @@
raise AssertionError, "authenticated with incorrect password"
class PlainTextAuth(BaseTest):
+ import ZEO.auth.auth_plaintext
protocol = 'plaintext'
database = 'authdb.sha'
dbclass = Database
@@ -116,7 +116,7 @@
database = "authdb.digest"
dbclass = DigestDatabase
wait = 0.5
-
+
test_classes = [PlainTextAuth, SHAAuth, DigestAuth]
def test_suite():
More information about the Zodb-checkins
mailing list