source: mod_gnutls/test/tests/15_basic_msva/hooks.py @ cbc3477

asyncio
Last change on this file since cbc3477 was cbc3477, checked in by Fiona Klute <fiona.klute@…>, 12 months ago

Skip MSVA test if building without MSVA auth support

Skipping instead of excluding it from the list of tests removes a
special case, and might allow simplifications in test handling later.

  • Property mode set to 100644
File size: 187 bytes
Line 
1import os
2from unittest import SkipTest
3
4def prepare_env():
5    if 'MSVA_PORT' not in os.environ:
6        raise SkipTest('Build without MSVA support.')
7    os.environ['USE_MSVA'] = 'yes'
Note: See TracBrowser for help on using the repository browser.