Ignore:
Timestamp:
Apr 18, 2011 10:06:14 AM (13 years ago)
Author:
kroman0
Message:

pep8 passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/testQPloneCommentsUninstall.py

    r3112 r3126  
    2626 
    2727    def test_skins_uninstall(self): 
    28         skinstool=getToolByName(self.portal, 'portal_skins') 
     28        skinstool = getToolByName(self.portal, 'portal_skins') 
    2929        self.failIf(PRODUCT_SKIN_NAME in skinstool.objectIds(), 
    3030            'There is still %s folder in portal_skins.' % PRODUCT_SKIN_NAME) 
     
    3838        from plone.browserlayer.utils import registered_layers 
    3939        from quintagroup.plonecomments.interfaces import IPloneCommentsLayer 
    40         self.failIf(IPloneCommentsLayer in registered_layers(), 
    41             '%s layer found after uninstallation.' % IPloneCommentsLayer.getName()) 
     40        self.failIf(IPloneCommentsLayer in registered_layers(), '%s layer ' 
     41            'found after uninstallation.' % IPloneCommentsLayer.getName()) 
    4242 
    4343    def test_configlet_uninstall(self): 
    4444        configTool = getToolByName(self.portal, 'portal_controlpanel', None) 
    45         self.failIf(CONFIGLET_ID in [a.getId() for a in configTool.listActions()], 
     45        self.failIf(CONFIGLET_ID in [a.getId() 
     46                                     for a in configTool.listActions()], 
    4647            'Configlet %s found after uninstallation.' % CONFIGLET_ID) 
    4748 
     
    4950        portal_properties = getToolByName(self.portal, 'portal_properties') 
    5051        self.failUnless(PROPERTY_SHEET in portal_properties.objectIds(), 
    51             '%s property_sheet not found in portal_properties after uninstallation.' % PROPERTY_SHEET) 
     52            '%s property_sheet not found in portal_properties after ' 
     53            'uninstallation.' % PROPERTY_SHEET) 
     54 
    5255 
    5356def test_suite(): 
Note: See TracChangeset for help on using the changeset viewer.