source: mod_gnutls/test/tests/14_resume_session/

Last change on this file was 5357109, checked in by Fiona Klute <fiona.klute@…>, 16 months ago

Fix flake8 warnings in test

  • Property mode set to 100644
File size: 468 bytes
1import re
2from mgstest import require_match
5def post_check(conn_log, response_log):
6    print('Checking if the session was resumed successfully...')
7    # NOTE: The "Resume Handshake was completed" message appears after
8    # the second handshake is complete, whether the session has been
9    # resumed or not. The following message is required!
10    print(require_match(re.compile(r'^\*\*\* This is a resumed session\b'),
11                        conn_log).group(0))
Note: See TracBrowser for help on using the repository browser.