def setUp(self): repos_manager.init_repos() index_manager.initialize()
def _prepare(): repos_manager.init_repos()
def wrapper(*args, **kwargs): repos_manager.init_repos() index_manager.initialize() func(*args, **kwargs) index_manager.finalize()