Changeset 3162 in products for quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/tests/testInstallation.py
- Timestamp:
- Apr 20, 2011 2:11:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/tests/testInstallation.py
r3161 r3162 5 5 6 6 from quintagroup.plonecaptchas.config import PRODUCT_NAME 7 7 8 8 9 class TestInstallation(TestCase): … … 18 19 for layer in LAYERS: 19 20 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) 21 23 self.assert_(layer in path, 22 24 '%s layer not found in %s' % (PRODUCT_NAME, skin)) … … 31 33 path = map(str.strip, path.split(',')) 32 34 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) 35 39 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 37 43 38 44 def test_suite():
Note: See TracChangeset
for help on using the changeset viewer.