[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests -
testStarter.py:1.12
Brian Lloyd
brian at zope.com
Fri Jan 30 14:17:53 EST 2004
Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv13128/lib/python/Zope/Startup/tests
Modified Files:
testStarter.py
Log Message:
removed broken test for resetting security policy at runtime (not supported)
=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.11 => 1.12 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.11 Thu Jan 15 18:05:09 2004
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py Fri Jan 30 14:17:53 2004
@@ -362,22 +362,6 @@
pass
setConfiguration(old_config)
- 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 test_suite():
return unittest.makeSuite(ZopeStarterTestCase)
More information about the Zope-Checkins
mailing list