def mkhg_workspace(name): # XXX temporary method to work with existing tests until # this is replaced w = Workspace(name) w.storage = u'mercurial' w.title = u'' w.description = u'' self.portal.workspace[name] = w
def mkgit_workspace(name): # XXX temporary method to work with existing tests until # this is replaced w = Workspace(name) w.storage = u'git' w.title = u'' w.description = u'' zope.interface.alsoProvides(w, IGitWorkspace) self.portal.workspace[name] = w
def mkhg_workspace(name): w = Workspace(name) w.storage = u'mercurial' w.title = u'' w.description = u'' portal.workspace[name] = w