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 config(): """ Reset the configuration object after each test. Yields: The modify-able config object. """ yield _config _config.read()