Changeset dd91d9c in mod_gnutls
- Timestamp:
- Dec 27, 2019, 5:43:07 PM (3 years ago)
- Branches:
- asyncio, main, master, proxy-ticket
- Children:
- 2d25c1c
- Parents:
- 52636ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/runtest.py
r52636ee rdd91d9c 210 210 conn_log=log_file, response_log=output_file) 211 211 212 # TODO: add hook to replace the test request, e.g. for curl 213 214 # TODO: add hook for extra checks 212 # run extra checks the test's hooks.py might define 213 if plugin.post_check: 214 log_file = None 215 output_file = None 216 with contextlib.ExitStack() as stack: 217 # TODO: The log files should be created as temporary 218 # files if needed by the plugin but not configured. 219 if args.log_connection: 220 log_file = stack.enter_context(open(args.log_connection, 'r')) 221 if args.log_responses: 222 output_file = stack.enter_context(open(args.log_responses, 'r')) 223 plugin.post_check(conn_log=log_file, response_log=output_file)
Note: See TracChangeset
for help on using the changeset viewer.