Changeset 221 in products


Ignore:
Timestamp:
Jan 31, 2006 1:50:03 PM (20 years ago)
Author:
mylan
Message:
  • Add notification and modify moderation, configlet, installation tests.
  • Add checking for DiscussionManager? group presenting in portal_groups
  • Raise publishing comment reliability.
  • Clean up some code.
Location:
qPloneComments/branches/plone-2.1/tests
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • qPloneComments/branches/plone-2.1/tests/testQPloneCommentsInstall.py

    r163 r221  
    2222ANONYMOUS_COMMENTING_PID = "enable_anonymous_commenting" 
    2323 
    24 PERM_NAME = 'Moderate Discussion' 
    2524PloneTestCase.installProduct(PRODUCT) 
    2625PloneTestCase.setupPloneSite() 
     
    105104         
    106105        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') 
    113108         
    114109 
Note: See TracChangeset for help on using the changeset viewer.