Example #1
0
 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
Example #2
0
 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
Example #3
0
 def mkhg_workspace(name):
     w = Workspace(name)
     w.storage = u'mercurial'
     w.title = u''
     w.description = u''
     portal.workspace[name] = w