Ignore:
Timestamp:
Oct 25, 2012 10:48:38 AM (12 years ago)
Author:
vmaksymiv
Message:

PPP fixes

File:
1 edited

Legend:

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

    r3160 r3609  
    2626            for layer in LAYERS: 
    2727                self.assert_(layer.split('/')[0] in self.skins.objectIds(), 
    28                              '%s directory view not found in portal_skins '\ 
     28                             '%s directory view not found in portal_skins ' 
    2929                             'after installation' % layer) 
    3030                self.assert_(layer in path, 
     
    6363            for layer in LAYERS: 
    6464                self.assertTrue( 
    65                         not layer.split('/')[0] in self.skins.objectIds(), 
    66                         '%s directory view found in portal_skins '\ 
    67                         'after uninstallation' % layer) 
    68                 self.assert_(not layer in path, 
    69                     '%s layer found in %s skin after uninstallation' % (layer, 
    70                                                                         skin)) 
     65                    not layer.split('/')[0] in self.skins.objectIds(), 
     66                    '%s directory view found in portal_skins ' 
     67                    'after uninstallation' % layer) 
     68                self.assert_(not layer in path, '%s layer found in %s skin ' 
     69                             'after uninstallation' % (layer, skin)) 
    7170 
    7271    def testBrowserLayerUnregistration(self): 
Note: See TracChangeset for help on using the changeset viewer.