[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests - testStarter.py:1.1.2.3
Chris McDonough
chrism@zope.com
Sun Aug 3 00:19:37 EDT 2003
Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv29526/lib/python/Zope/Startup/tests
Modified Files:
Tag: Zope-2_7-branch
testStarter.py
Log Message:
Merge from HEAD: When run amongst other unit tests, the removed assertions weren't true.
=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.1.2.2 => 1.1.2.3 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.1.2.2 Sat Aug 2 16:02:53 2003
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py Sat Aug 2 19:19:32 2003
@@ -80,6 +80,7 @@
return conf
def testSetupLocale(self):
+ # XXX this almost certainly won't work on all systems
import locale
try:
conf = self.load_config_text("""
@@ -111,8 +112,6 @@
</logfile>
</eventlog>""")
starter = ZopeStarter(conf)
- self.assertEqual(zLOG.EventLogger.EventLogger.logger.level,
- logging.NOTSET)
starter.setupStartupHandler()
self.assert_(not zLOG._call_initialize)
self.assertEqual(starter.startup_handler.formatter,
@@ -259,8 +258,6 @@
</logger>
""")
try:
- self.assertEqual(zLOG.EventLogger.EventLogger.logger.level,
- logging.NOTSET)
starter = ZopeStarter(conf)
starter.setupStartupHandler()
starter.info('hello')
More information about the Zope-Checkins
mailing list