Changeset 8666b50 in mod_gnutls for test/mgstest/hooks.py


Ignore:
Timestamp:
Jan 8, 2020, 1:10:52 PM (16 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
3871dbd
Parents:
d14d7d1
git-author:
Fiona Klute <fiona.klute@…> (01/08/20 13:01:38)
git-committer:
Fiona Klute <fiona.klute@…> (01/08/20 13:10:52)
Message:

Implement "prepare_env" hook for tests

Test 15_basic_msva uses it to enable MSVA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mgstest/hooks.py

    rd14d7d1 r8666b50  
    1616
    1717Test cases can implement hooks that (depending on the hook) override
    18 or supplement the default test run behavior. Two hooks are currently
     18or supplement the default test run behavior. Three hooks are currently
    1919supported:
     20
     21    prepare_env:
     22
     23        This hook runs before the test services are started. It can
     24        set any additional environment variables the test might need.
    2025
    2126    run_connection:
Note: See TracChangeset for help on using the changeset viewer.