Ignore:
Timestamp:
Apr 20, 2011 2:11:46 PM (13 years ago)
Author:
vmaksymiv
Message:

pep8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/tests/testInstallation.py

    r3161 r3162  
    55 
    66from quintagroup.plonecaptchas.config import PRODUCT_NAME 
     7 
    78 
    89class TestInstallation(TestCase): 
     
    1819            for layer in LAYERS: 
    1920                self.assert_(layer.split('/')[0] in self.skins.objectIds(), 
    20                     '%s directory view not found in portal_skins after installation' % layer) 
     21                             '%s directory view not found in portal_skins '\ 
     22                             'after installation' % layer) 
    2123                self.assert_(layer in path, 
    2224                    '%s layer not found in %s' % (PRODUCT_NAME, skin)) 
     
    3133            path = map(str.strip, path.split(',')) 
    3234            for layer in LAYERS: 
    33                 self.assertTrue(not layer.split('/')[0] in self.skins.objectIds(), 
    34                     '%s directory view found in portal_skins after uninstallation' % layer) 
     35                self.assertTrue( 
     36                        not layer.split('/')[0] in self.skins.objectIds(), 
     37                                '%s directory view found in portal_skins '\ 
     38                                'after uninstallation' % layer) 
    3539                self.assert_(not layer in path, 
    36                     '%s layer found in %s skin after uninstallation' % (layer, skin)) 
     40                             '%s layer found in %s skin '\ 
     41                             'after uninstallation' % (layer, skin)) 
     42 
    3743 
    3844def test_suite(): 
Note: See TracChangeset for help on using the changeset viewer.