Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFQuickInstallerTool.tests.testSetup.TestQuickInstaller Class Reference

List of all members.

Public Member Functions

def afterSetUp
def testTool
def testIsNotInstalled
def testIsNotListedAsInstallable
def testIsNotListedAsInstalled

Public Attributes

 qi

Detailed Description

Definition at line 16 of file testSetup.py.


Member Function Documentation

Definition at line 18 of file testSetup.py.

00018 
00019     def afterSetUp(self):
00020         self.setRoles(['Manager'])
00021         self.addProduct('CMFQuickInstallerTool')
00022         self.qi = getattr(self.portal, 'portal_quickinstaller', None)

Here is the call graph for this function:

Definition at line 26 of file testSetup.py.

00026 
00027     def testIsNotInstalled(self):
00028         self.failIf(self.qi.isProductInstalled('CMFQuickInstallerTool'))

Definition at line 29 of file testSetup.py.

00029 
00030     def testIsNotListedAsInstallable(self):
00031         prods = self.qi.listInstallableProducts()
00032         prods = [x['id'] for x in prods]
00033         self.failIf('CMFQuickInstallerTool' in prods)

Definition at line 34 of file testSetup.py.

00034 
00035     def testIsNotListedAsInstalled(self):
00036         prods = self.qi.listInstalledProducts()
00037         prods = [x['id'] for x in prods]
00038         self.failIf('CMFQuickInstallerTool' in prods)
00039 

Definition at line 23 of file testSetup.py.

00023 
00024     def testTool(self):
00025         self.failUnless('portal_quickinstaller' in self.portal.objectIds())


Member Data Documentation

Definition at line 21 of file testSetup.py.


The documentation for this class was generated from the following file: