Ejemplo n.º 1
0
def test_env():
    """
    Merge the testing parameters into the configuration.
    """

    _config.paths.append('/etc/osp/osp.test.yml')
    _config.read()
Ejemplo n.º 2
0
def config():
    """
    Reset the configuration object after each test.

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

    yield _config
    _config.read()