Commit 4f723f04 authored by Stefan H. Holek's avatar Stefan H. Holek

Catch up with standalone ZTC.

parent 76ed329c
......@@ -61,6 +61,9 @@ def _configure_logging():
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():
......
......@@ -5,7 +5,7 @@ Unreleased
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.
......
......@@ -173,5 +173,7 @@ __all__ = [
'startZServer',
'importObjectFromFile',
'appcall',
'makerequest',
'makelist',
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment