def aiida_env(): """Set up the db environment.""" with fixture_manager() as manager: config_file = py_path.local(manager.root_dir).join('.aiida', 'config.json') print config_file.read() yield manager
def aiida_profile(): from aiida.utils.fixtures import fixture_manager with fixture_manager() as fixture_mgr: fixture_mgr.create_profile() yield fixture_mg
def aiida_env(): with fixture_manager() as manager: yield manager
def aiida_profile(): """setup a test profile for the duration of the tests""" with fixture_manager() as fixture_mgr: yield fixture_mgr