[Zope-CVS] CVS: Products/PluggableAuthService/tests - test_Caching.py:1.1.2.2

Jens Vagelpohl jens at dataflake.org
Sat Nov 6 07:04:20 EST 2004


Update of /cvs-repository/Products/PluggableAuthService/tests
In directory cvs.zope.org:/tmp/cvs-serv11999/tests

Modified Files:
      Tag: jens-implement_caching_branch
	test_Caching.py 
Log Message:
- remove unused code


=== Products/PluggableAuthService/tests/test_Caching.py 1.1.2.1 => 1.1.2.2 ===
--- Products/PluggableAuthService/tests/test_Caching.py:1.1.2.1	Sat Nov  6 06:38:04 2004
+++ Products/PluggableAuthService/tests/test_Caching.py	Sat Nov  6 07:04:20 2004
@@ -14,16 +14,9 @@
 ##############################################################################
 import unittest
 
-from Acquisition import Implicit, aq_base, aq_parent
-from AccessControl.SecurityManagement import newSecurityManager
-from AccessControl.SecurityManagement import noSecurityManager
-from AccessControl.SecurityManager import setSecurityPolicy
-from OFS.ObjectManager import ObjectManager
-from OFS.Folder import Folder
+from Acquisition import aq_base
 from OFS.Cache import isCacheable
-from zExceptions import Unauthorized, Redirect
 
-from Products.PluggableAuthService.utils import directlyProvides
 from Products.PluggableAuthService.PASCache import PASRAMCacheManager
 
 class FauxRequest:
@@ -89,15 +82,6 @@
         reg._plugins = {}
 
         return reg
-
-    def _makeTree( self ):
-
-        rc = FauxObject( 'rc' )
-        root = FauxRoot( 'root' ).__of__( rc )
-        folder = FauxContainer( 'folder' ).__of__( root )
-        object = FauxObject( 'object' ).__of__( folder )
-
-        return rc, root, folder, object
 
     def _makeAndFill(self):
 



More information about the Zope-CVS mailing list