[Zope3-checkins] CVS: Zope3/src/zope/app/services/pluggableauth/tests - test_pluggableauth.py:1.3

Chris McDonough chrism@zope.com
Mon, 23 Jun 2003 22:34:30 -0400


Update of /cvs-repository/Zope3/src/zope/app/services/pluggableauth/tests
In directory cvs.zope.org:/tmp/cvs-serv30249/services/pluggableauth/tests

Modified Files:
	test_pluggableauth.py 
Log Message:
- Change earmark generation to really create a unique earmark.

- Add more comments.

- Raise more descriptive error messages.


=== Zope3/src/zope/app/services/pluggableauth/tests/test_pluggableauth.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/pluggableauth/tests/test_pluggableauth.py:1.2	Mon Jun 23 18:46:17 2003
+++ Zope3/src/zope/app/services/pluggableauth/tests/test_pluggableauth.py	Mon Jun 23 22:34:29 2003
@@ -55,12 +55,8 @@
                                 IBrowserPresentation,
                                 (PrincipalAuthenticationView,))
 
-        auth = setup.addService(sm, "Authentication",
+        auth = setup.addService(sm, "TestPluggableAuthenticationService",
                                  PluggableAuthenticationService())
-
-        # auth.earmark = 'earmark'
-        # XXX - not sure why this is needed, it should be assigned by
-        # afterAddHook
 
         one = BTreePrincipalSource()
         two = BTreePrincipalSource()