[Zope-Checkins]
SVN: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/
Catch up with standalone ZTC.
Stefan H. Holek
stefan at epy.co.at
Sun Mar 26 10:14:34 EST 2006
Log message for revision 66171:
Catch up with standalone ZTC.
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ZopeLite.py
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/utils.py
-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ZopeLite.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ZopeLite.py 2006-03-26 10:29:24 UTC (rev 66170)
+++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ZopeLite.py 2006-03-26 15:14:34 UTC (rev 66171)
@@ -61,6 +61,9 @@
import logging
root = logging.getLogger()
if not root.handlers:
+ class NullHandler(logging.Handler):
+ def emit(self, record): pass
+ root.addHandler(NullHandler())
logging.basicConfig()
def _configure_debug_mode():
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-03-26 10:29:24 UTC (rev 66170)
+++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt 2006-03-26 15:14:34 UTC (rev 66171)
@@ -4,7 +4,7 @@
than GET or HEAD while omitting the stdin argument.
- installProduct() now becomes a noop if ZopeTestCase did not apply its
patches.
-- Made the functional doctests set the cookie related headers.
+- 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.
Modified: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/utils.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/utils.py 2006-03-26 10:29:24 UTC (rev 66170)
+++ Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/utils.py 2006-03-26 15:14:34 UTC (rev 66171)
@@ -173,5 +173,7 @@
'startZServer',
'importObjectFromFile',
'appcall',
+ 'makerequest',
+ 'makelist',
]
More information about the Zope-Checkins
mailing list