Changeset 221 in products
- Timestamp:
- Jan 31, 2006 1:50:03 PM (20 years ago)
- Location:
- qPloneComments/branches/plone-2.1/tests
- Files:
-
- 2 added
- 1 edited
-
helperNotify.py (added)
-
testQPloneCommentsInstall.py (modified) (2 diffs)
-
testQPloneCommentsNotification.py (added)
Legend:
- Unmodified
- Added
- Removed
-
qPloneComments/branches/plone-2.1/tests/testQPloneCommentsInstall.py
r163 r221 22 22 ANONYMOUS_COMMENTING_PID = "enable_anonymous_commenting" 23 23 24 PERM_NAME = 'Moderate Discussion'25 24 PloneTestCase.installProduct(PRODUCT) 26 25 PloneTestCase.setupPloneSite() … … 105 104 106 105 portal_properties = getToolByName(self.portal, 'portal_properties') 107 self.assert_(PROPERTY_SHEET in portal_properties.objectIds(), \ 108 'qPloneComments property_sheet not found in portal_properties after uninstallation') 109 110 def test_permission_added(self): 111 roles = [item['name'] for item in self.portal.rolesOfPermission(PERM_NAME)] 112 self.assert_( roles != [], '%s not installed'%PERM_NAME) 106 self.assert_(not PROPERTY_SHEET in portal_properties.objectIds(), \ 107 'qPloneComments property_sheet found in portal_properties after uninstallation') 113 108 114 109
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)