asyncioproxy-ticket
Last change
on this file since f246f00 was
f246f00,
checked in by Fiona Klute <fiona.klute@…>, 3 years ago
|
Use post_check hook for test 14_resume_session
|
-
Property mode set to
100644
|
File size:
467 bytes
|
Line | |
---|
1 | import re |
---|
2 | from mgstest import require_match |
---|
3 | |
---|
4 | def post_check(conn_log, response_log): |
---|
5 | print('Checking if the session was resumed successfully...') |
---|
6 | # NOTE: The "Resume Handshake was completed" message appears after |
---|
7 | # the second handshake is complete, whether the session has been |
---|
8 | # resumed or not. The following message is required! |
---|
9 | print(require_match(re.compile(r'^\*\*\* This is a resumed session\b'), |
---|
10 | conn_log).group(0)) |
---|
Note: See
TracBrowser
for help on using the repository browser.