예제 #1
0
파일: conftest.py 프로젝트: samzhang111/osp
def test_env():
    """
    Merge the testing parameters into the configuration.
    """

    _config.paths.append('/etc/osp/osp.test.yml')
    _config.read()
예제 #2
0
파일: conftest.py 프로젝트: samzhang111/osp
def config():
    """
    Reset the configuration object after each test.

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

    yield _config
    _config.read()