Пример #1
0
def test_env():
    """
    Merge the testing parameters into the configuration.
    """

    # Inject the testing values.
    _config.paths.append('/etc/osp/osp.test.yml')
    _config.read()
def test_env():

    """
    Merge the testing parameters into the configuration.
    """

    # Inject the testing values.
    _config.paths.append('/etc/osp/osp.test.yml')
    _config.read()
Пример #3
0
def config():
    """
    Reset the configuration object after each test.

    Yields:
        The modify-able config object.
    """

    yield _config
    _config.read()
def config():

    """
    Reset the configuration object after each test.

    Yields:
        The modify-able config object.
    """

    yield _config
    _config.read()