Changeset b0695c6 in mod_gnutls for test/https-test-client.py


Ignore:
Timestamp:
Apr 7, 2020, 2:44:48 PM (15 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
0484b31
Parents:
1a85a3d
Message:

Pass parsed YAML config to mgstest.tests.run_test_conf

Parsing the config in runtest.py has the advantage that the parsed
config is available there, too, e.g. to be read by hooks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/https-test-client.py

    r1a85a3d rb0695c6  
    1818import contextlib
    1919import os
     20import yaml
    2021
    2122from mgstest.tests import run_test_conf
     
    5253
    5354    with contextlib.closing(args.test_config):
    54         run_test_conf(args.test_config, args.timeout)
     55        test_conf = yaml.load(args.test_config, Loader=yaml.Loader)
     56        run_test_conf(test_conf, args.timeout)
Note: See TracChangeset for help on using the changeset viewer.