def svn_workdir(svn_repo): workdir = Workspace() workdir.run("svn co {}".format(svn_repo.uri)) yield (workdir, svn_repo) workdir.teardown()
def workdir(): workdir = Workspace() yield workdir workdir.teardown()