Commit 55a64c8a authored by Stefan H. Holek's avatar Stefan H. Holek

Catch up with standalone ZTC.

parent 47f5c2ba
...@@ -61,6 +61,9 @@ def _configure_logging(): ...@@ -61,6 +61,9 @@ def _configure_logging():
import logging import logging
root = logging.getLogger() root = logging.getLogger()
if not root.handlers: if not root.handlers:
class NullHandler(logging.Handler):
def emit(self, record): pass
root.addHandler(NullHandler())
logging.basicConfig() logging.basicConfig()
def _configure_debug_mode(): def _configure_debug_mode():
......
...@@ -4,7 +4,7 @@ Unreleased ...@@ -4,7 +4,7 @@ Unreleased
than GET or HEAD while omitting the stdin argument. than GET or HEAD while omitting the stdin argument.
- installProduct() now becomes a noop if ZopeTestCase did not apply its - installProduct() now becomes a noop if ZopeTestCase did not apply its
patches. 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 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. Read $INSTANCE_HOME/log.ini if it exists.
......
...@@ -173,5 +173,7 @@ __all__ = [ ...@@ -173,5 +173,7 @@ __all__ = [
'startZServer', 'startZServer',
'importObjectFromFile', 'importObjectFromFile',
'appcall', '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