Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFTestCase.setup.SiteCleanup Class Reference
Inheritance diagram for CMFTestCase.setup.SiteCleanup:
Inheritance graph
[legend]
Collaboration diagram for CMFTestCase.setup.SiteCleanup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def run

Public Attributes

 id
 app
 products
 quiet
 base_profile
 extension_profiles

Detailed Description

Removes a site.

Definition at line 277 of file setup.py.


Constructor & Destructor Documentation

def CMFTestCase.setup.SiteCleanup.__init__ (   self,
  id 
)

Definition at line 280 of file setup.py.

00280 
00281     def __init__(self, id):
00282         self.id = id


Member Function Documentation

Reimplemented from CMFTestCase.setup.SiteSetup.

Definition at line 283 of file setup.py.

00283 
00284     def run(self):
00285         self.app = self._app()
00286         try:
00287             if hasattr(aq_base(self.app), self.id):
00288                 self._placefulSetUp()
00289                 self.app._delObject(self.id)
00290                 self._commit()
00291         finally:
00292             self._abort()
00293             self._close()
00294             self._placefulTearDown()
00295 


Member Data Documentation

Reimplemented from CMFTestCase.setup.SiteSetup.

Definition at line 284 of file setup.py.

Definition at line 129 of file setup.py.

Definition at line 130 of file setup.py.

Reimplemented from CMFTestCase.setup.SiteSetup.

Definition at line 281 of file setup.py.

Definition at line 127 of file setup.py.

Definition at line 128 of file setup.py.


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