コード例 #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()