[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests - testStarter.py:1.3
Chris McDonough
chrism@zope.com
Sat, 2 Aug 2003 19:19:01 -0400
Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv29363/lib/python/Zope/Startup/tests
Modified Files:
testStarter.py
Log Message:
When run amongst other unit tests, the removed assertions weren't true.
=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.2 => 1.3 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.2 Sat Aug 2 16:02:03 2003
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py Sat Aug 2 19:18:55 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')