[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore/tests - test_creatorannotator.py:1.7

Chris McDonough chrism at plope.com
Wed Jan 14 17:55:53 EST 2004


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

Modified Files:
	test_creatorannotator.py 
Log Message:
Merge security policy refactoring:

 - Moved all role- and grant-related functionality into
   zope.products.securitypolicy (and out of zope.app.security.grant).
   The zope.products.securitypolicy implementation is exactly
   the same as the old implementation; no changes were made
   to the actual mechanics of role-permission or principal-permission
   grants.  The only real difference is that all functionality
   that is the purview of what we want a security policy to have
   control of is now in that one place.

 - Created new modulealias directive which can be used to provide
   aliases to older modules (to not break existing ZODBs when
   module locations change).

 - Added minor feature: "make debug" launches a debug session in the
   spirit of Zope 2's "zopectl debug".
   


=== Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py:1.6	Fri Nov 21 12:12:03 2003
+++ Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py	Wed Jan 14 17:55:22 2004
@@ -76,7 +76,7 @@
         PlacefulSetup.setUp(self)
         ztapi.provideAdapter(IDummyContent, IZopeDublinCore, DummyDCAdapter)
         noSecurityManager()
-        
+
     def tearDown(self):
         noSecurityManager()
         PlacefulSetup.tearDown(self)
@@ -92,13 +92,11 @@
         good_author._id = 'goodauthor'
         good_author._title = 'the good author'
         good_author._description = 'this is a very good author'
-        good_author._roles = []
 
         bad_author = DummyPrincipal()
         bad_author._id = 'badauthor'
         bad_author._title = 'the bad author'
         bad_author._description = 'this is a very bad author'
-        bad_author._roles = []
 
         # Check what happens if no user is there
         noSecurityManager()




More information about the Zope3-Checkins mailing list