Log message for revision 70054: Catch up with standalone ZTC. Changed: U Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ztc_common.py
-=- Modified: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt =================================================================== --- Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt 2006-09-08 12:43:26 UTC (rev 70053) +++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt 2006-09-08 14:00:05 UTC (rev 70054) @@ -1,4 +1,4 @@ -Zope 2.8 edition +0.9.9 (Zope 2.8 edition) - Don't break if Python distros ship without profile support (Debian, Ubuntu). - Functional.publish() would hang if it got a request_method argument other than GET or HEAD while omitting the stdin argument. @@ -6,11 +6,11 @@ patches. - Made functional doctests set cookie related headers. - Made functional doctests set the Www-Authenticate header. -- Made sure logging is configured. Read $INSTANCE_HOME/log.ini if it exists. +- Made sure logging is configured. - Made base.TestCase a new-style class. - Added placeless.py for Z3-style setup. Thanks to Whit Morriss. -- Fixed functional.http to only pass the request body (no headers) to - publish_module. Thanks to Andreas Zeidler. +- Fixed functional.http() to only pass the request body (no headers) to + publish_module(). Thanks to Andreas Zeidler. 0.9.8 (Zope 2.8 edition) - Renamed 'doctest' package to 'zopedoctest' because of name-shadowing Modified: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ztc_common.py =================================================================== --- Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ztc_common.py 2006-09-08 12:43:26 UTC (rev 70053) +++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ztc_common.py 2006-09-08 14:00:05 UTC (rev 70054) @@ -62,13 +62,11 @@ return if self.zeo_instance_home: self.setup_zeo_instance_home() - self.setup_logging() else: if self.instance_home: self.setup_instance_home() else: self.detect_and_setup_instance_home() - self.setup_logging() self.setup_custom_zodb() def setup_zeo_instance_home(self): @@ -130,13 +128,6 @@ os.environ['INSTANCE_HOME'] = INSTANCE_HOME = self.cwd self.setconfig(instancehome=self.cwd) - def setup_logging(self): - '''If $INSTANCE_HOME/log.ini exists, load it.''' - logini = os.path.join(self.getconfig('instancehome'), 'log.ini') - if os.path.exists(logini): - import logging.config - logging.config.fileConfig(logini) - def add_instance(self, p): '''Adds an INSTANCE_HOME directory to Products.__path__ and sys.path.''' import Products _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins