source: mod_gnutls/test/tests/15_basic_msva/ @ c26a163

Last change on this file since c26a163 was cbc3477, checked in by Fiona Klute <fiona.klute@…>, 20 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
1import os
2from unittest import SkipTest
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.