Changeset 3be92d3 in mod_gnutls for test/mgstest/tests.py
- Timestamp:
- Dec 18, 2019, 5:42:58 PM (15 months ago)
- Branches:
- asyncio, master, proxy-ticket
- Children:
- d5c572b
- Parents:
- 779406c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mgstest/tests.py
r779406c r3be92d3 77 77 f'description={self.description!r})') 78 78 79 def run(self, timeout=5.0 ):79 def run(self, timeout=5.0, conn_log=None): 80 80 # note: "--logfile" option requires GnuTLS version >= 3.6.7 81 81 command = ['gnutls-cli', '--logfile=/dev/stderr'] … … 87 87 conn = HTTPSubprocessConnection(command, self.host, self.port, 88 88 output_filter=filter_cert_log, 89 stderr_log=conn_log, 89 90 timeout=timeout) 90 91 elif self.transport == Transports.PLAIN: … … 370 371 371 372 372 def run_test_conf(test_config, timeout=5.0 ):373 def run_test_conf(test_config, timeout=5.0, conn_log=None): 373 374 conns = None 374 375 … … 390 391 print(f'Running test connection {i}.') 391 392 sys.stdout.flush() 392 test_conn.run(timeout=timeout )393 test_conn.run(timeout=timeout, conn_log=conn_log)
Note: See TracChangeset
for help on using the changeset viewer.