Changeset 2594 in products


Ignore:
Timestamp:
Jun 30, 2010 9:53:45 AM (14 years ago)
Author:
liebster
Message:

Add test uninstall configlet

File:
1 edited

Legend:

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

    r2538 r2594  
    6969        self.assertEqual(lsm.queryAdapter(news, interface=ISchemaExtender), None) 
    7070 
     71    def testConfigletUninstall(self): 
     72        self.assertNotEqual(self.portal.portal_quickinstaller.isProductInstalled(PRODUCT), True, 
     73            '%s is already installed' % PRODUCT) 
     74        configTool = self.portal.portal_controlpanel 
     75        self.assertEqual('GoogleSitemaps' in [a.getId() for a in configTool.listActions()], False, 
     76            'Configlet found after uninstallation') 
     77 
    7178 
    7279def test_suite(): 
Note: See TracChangeset for help on using the changeset viewer.