예제 #1
0
파일: common.py 프로젝트: bendavis78/zope
 def setUp(self):
     import Products
     from AccessControl.SecurityManagement import newSecurityManager
     ZopeTestCase.setUp(self)
     try:
         # BBB: for Zope 2.9
         from Products.Five.traversable import FiveTraversable
     except ImportError:
         zcml.load_config('meta.zcml', Products.Five)
         zcml.load_config('traversing.zcml', Products.Five)
     self.root = self.app
     newSecurityManager(None, OmnipotentUser().__of__(self.app.acl_users))
예제 #2
0
파일: common.py 프로젝트: goschtl/zope
 def setUp(self):
     import Products
     from AccessControl.SecurityManagement import newSecurityManager
     ZopeTestCase.setUp(self)
     try:
         # BBB: for Zope 2.9
         from Products.Five.traversable import FiveTraversable
     except ImportError:
         zcml.load_config('meta.zcml', Products.Five)
         zcml.load_config('traversing.zcml', Products.Five)
     self.root = self.app
     newSecurityManager(None, OmnipotentUser().__of__(self.app.acl_users))
예제 #3
0
 def setUp(self):
     from AccessControl.SecurityManagement import newSecurityManager
     ZopeTestCase.setUp(self)
     self.root = self.app
     newSecurityManager(None, OmnipotentUser().__of__(self.app.acl_users))
예제 #4
0
파일: common.py 프로젝트: bendavis78/zope
 def setUp(self):
     ZopeTestCase.setUp(self)
     self.root = self.app
예제 #5
0
파일: common.py 프로젝트: goschtl/zope
 def setUp(self):
     from AccessControl.SecurityManagement import newSecurityManager
     ZopeTestCase.setUp(self)
     self.root = self.app
     newSecurityManager(None, OmnipotentUser().__of__(self.app.acl_users))
예제 #6
0
파일: common.py 프로젝트: CGTIC/Plone_SP
 def setUp(self):
     ZopeTestCase.setUp(self)
     self.root = self.app