def setUp(self):
     self.portal = self.layer['portal']
     self.folder = self.portal
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
示例#2
0
 def setUp(self):
     self.portal = self.layer['portal']
     self.folder = self.portal
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
示例#3
0
 def setUp(self):
     self.portal = self.layer['portal']
     self.folder = self.portal
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
     setRoles(self.portal, TEST_USER_ID, ['Contributor'])
 def setUp(self):
     self.portal = self.layer['portal']
     self.folder = self.portal
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
     setRoles(self.portal, TEST_USER_ID, ['Contributor'])
 def setUp(self):
     self.portal = self.layer["portal"]
     self.folder = self.portal
     self.p_diff = getToolByName(self.portal, "portal_diff")
     cs = BaseChangeSet("my_changeset")
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
     setRoles(self.portal, TEST_USER_ID, ["Contributor"])
示例#6
0
 def afterSetUp(self):
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
示例#7
0
 def afterSetUp(self):
     self.p_diff = self.portal.portal_diff
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)
示例#8
0
 def afterSetUp(self):
     self.p_diff = getToolByName(self.portal, 'portal_diff')
     cs = BaseChangeSet('my_changeset')
     # ChangeSet needs an acquisition wrapper
     self.cs = cs.__of__(self.portal)