Changeset d14d7d1 in mod_gnutls


Ignore:
Timestamp:
Jan 8, 2020, 2:45:07 AM (6 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
8666b50
Parents:
0cfe818
Message:

Test 16_view-status hooks: Use raw strings for regular expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tests/16_view-status/hooks.py

    r0cfe818 rd14d7d1  
    99    # type that may be enclosed in the same brackets as the TLS
    1010    # version is ignored.
    11     re_session = '\((TLS[\d\.]+).*?\)-(.*)'
     11    re_session = r'\((TLS[\d\.]+).*?\)-(.*)'
    1212
    1313    # Prefix for gnutls-cli output
    14     re_cli = re.compile('(?<=^-\sDescription:\s)' + re_session + '$')
     14    re_cli = re.compile(r'(?<=^-\sDescription:\s)' + re_session + '$')
    1515    # Prefix in mod_status output provided by mod_gnutls
    16     re_status = re.compile('(?<=^Current TLS session:\s)' + re_session + '$')
     16    re_status = re.compile(r'(?<=^Current TLS session:\s)' + re_session + '$')
    1717
    1818    cli_suite = require_match(re_cli, conn_log,
Note: See TracChangeset for help on using the changeset viewer.