Changeset 60ed7d1 in mod_gnutls for test/mgstest


Ignore:
Timestamp:
Jan 9, 2020, 11:43:02 AM (18 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
ff039b1
Parents:
7e10018
Message:

Allow the prepare_env hook to return a cleanup callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mgstest/hooks.py

    r7e10018 r60ed7d1  
    3030        2. Set any additional environment variables the test might
    3131        need.
     32
     33        If the hook creates any resources that need to be cleaned up
     34        after the test (e.g. delete a temporary file), it should
     35        return a callable which performs the cleanup. That callable
     36        will be called without arguments when the test services are
     37        stopped.
    3238
    3339    run_connection:
Note: See TracChangeset for help on using the changeset viewer.