Changeset 0f52d48 in mod_gnutls for test/tests/27_OCSP_server/hooks.py


Ignore:
Timestamp:
Jan 8, 2020, 5:06:31 PM (22 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
482bafc
Parents:
baa0056
Message:

Switch most tests to hooks.py instead of preconditions in test scripts

The new function mgstest.require_apache_modules() covers required
Apache modules, the rest is individual stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tests/27_OCSP_server/hooks.py

    rbaa0056 r0f52d48  
     1import os
    12import re
    23from mgstest import require_match
     4from unittest import SkipTest
     5
     6def prepare_env():
     7    if not 'OCSP_PORT' in os.environ:
     8        raise SkipTest('OCSP_PORT is not set, check if openssl is available.')
    39
    410def post_check(conn_log, response_log):
Note: See TracChangeset for help on using the changeset viewer.