[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_browserpublication.py:1.21.6.2

Steve Alexander steve at cat-box.net
Wed Jan 14 15:58:43 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv17568/src/zope/app/publication/tests

Modified Files:
      Tag: steveachrismcd-securitypolicy-branch
	test_browserpublication.py 
Log Message:
Removed all other traces of roles from the core code.


=== Zope3/src/zope/app/publication/tests/test_browserpublication.py 1.21.6.1 => 1.21.6.2 ===
--- Zope3/src/zope/app/publication/tests/test_browserpublication.py:1.21.6.1	Tue Jan 13 18:33:58 2004
+++ Zope3/src/zope/app/publication/tests/test_browserpublication.py	Wed Jan 14 15:58:13 2004
@@ -34,7 +34,6 @@
 from zope.security.checker import defineChecker, NamesChecker
 
 from zope.app.security.registries.principalregistry import principalRegistry
-from zope.products.securitypolicy.principalrole import principalRoleManager
 
 from zope.app.publication.browser import BrowserPublication
 from zope.app.publication.traversers import TestTraverser
@@ -44,7 +43,7 @@
 from persistence import Persistent
 
 def foo():
-    " "
+    "I am an otherwise empty docstring."
     return '<html><body>hello base fans</body></html>'
 
 class DummyPublished:
@@ -130,10 +129,6 @@
         ## the following is for running the tests standalone
         principalRegistry.defineDefaultPrincipal(
             'tim', 'timbot', 'ai at its best')
-
-        principalRoleManager.assignRoleToPrincipal('Manager', 'tim',
-                                                   check=False)
-
 
         # now place our object inside the application
         from transaction import get_transaction




More information about the Zope3-Checkins mailing list