[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests -
testStarter.py:1.1.2.11
Brian Lloyd
brian at zope.com
Fri Jan 30 14:17:47 EST 2004
Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv13087/lib/python/Zope/Startup/tests
Modified Files:
Tag: Zope-2_7-branch
testStarter.py
Log Message:
removed broken test for resetting security policy at runtime (not supported)
=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.1.2.10 => 1.1.2.11 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.1.2.10 Thu Jan 8 18:34:06 2004
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py Fri Jan 30 14:17:46 2004
@@ -338,23 +338,6 @@
starter.unlinkPidFile()
self.failIf(os.path.exists(name))
- def testInitializeSecurityOptions(self):
- from AccessControl import Implementation
- orig = Implementation.getImplementationName()
- conf = self.load_config_text("""
- instancehome <<INSTANCE_HOME>>
- security-policy-implementation python
- skip-authentication-checking yes
- skip-ownership-checking yes
- """)
- self.assertEqual(conf.security_policy_implementation, "PYTHON")
- starter = ZopeStarter(conf)
- try:
- starter.setupSecurityOptions()
- self.assertEqual(Implementation.getImplementationName(), "PYTHON")
- finally:
- Implementation.setImplementation(orig)
-
def testZopeRunConfigure(self):
old_config = getConfiguration()
try:
More information about the Zope-Checkins
mailing list