Ignore:
Timestamp:
Apr 2, 2012 1:04:35 PM (12 years ago)
Author:
potar
Message:

Fixing pep8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonetabs/branches/tests/quintagroup/plonetabs/tests/test_erase.py

    r3395 r3402  
    1515 
    1616from quintagroup.plonetabs.tests.base import PloneTabsTestCase 
     17 
    1718 
    1819class TestErase(PloneTabsTestCase): 
     
    3940            product_name = 'quintagroup.plonetabs' 
    4041            if tool.isProductInstalled(product_name): 
    41                 tool.uninstallProducts([product_name,]) 
     42                tool.uninstallProducts([product_name, ]) 
    4243 
    4344            # drop elevated perms 
     
    4950    def afterSetUp(self): 
    5051        self.loginAsPortalOwner() 
    51      
     52 
    5253    def test_actionIcons(self): 
    5354        tool = getToolByName(self.portal, 'portal_actionicons') 
     
    5556        self.failIf('plonetabs' in icon_ids, 
    5657            'There should be no plonetabs action icon after uninstall.') 
    57      
     58 
    5859    def test_controlPanel(self): 
    5960        tool = getToolByName(self.portal, 'portal_controlpanel') 
     
    6162        self.failIf('plonetabs' in action_ids, 
    6263            'There should be no plonetabs configlet after after uninstall.') 
    63      
     64 
    6465    def test_cssRegistry(self): 
    6566        tool = getToolByName(self.portal, 'portal_css') 
     
    6869            'There should be no ++resource++plonetabs.css stylesheets after' 
    6970            ' uninstall.') 
    70      
     71 
    7172    def test_jsRegistry(self): 
    7273        tool = getToolByName(self.portal, 'portal_javascripts') 
    73          
     74 
    7475        effects = tool.getResource('++resource++pt_effects.js') 
    7576        self.failUnless(effects is None, 
    7677            'There should be no ++resource++pt_effects.js script after' 
    7778            ' uninstall.') 
    78          
     79 
    7980        dad = tool.getResource('++resource++sa_dragdrop.js') 
    8081        self.failUnless(dad is None, 
     
    9293            'There should be no ++resource++plonetabsmode.kss sheets after' 
    9394            ' uninstall.') 
    94      
     95 
    9596    def test_propertiesTool(self): 
    9697        tool = getToolByName(self.portal, 'portal_properties') 
     
    105106            ' after uninstall.' 
    106107        ) 
    107      
     108 
    108109    def test_browserLayer(self): 
    109110        sm = getSiteManager(self.portal) 
     
    112113            'There should be no quintagroup.plonetabs layer after uninstall.') 
    113114 
     115 
    114116def test_suite(): 
    115117    suite = unittest.TestSuite() 
Note: See TracChangeset for help on using the changeset viewer.