Back to index

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

List of all members.

Public Member Functions

def __init__
def run

Public Attributes

 id
 app
 policy
 products
 quiet
 with_default_memberarea
 base_profile
 extension_profiles

Detailed Description

Removes a site.

Definition at line 366 of file setup.py.


Constructor & Destructor Documentation

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

Definition at line 369 of file setup.py.

00369 
00370     def __init__(self, id):
00371         self.id = id


Member Function Documentation

Reimplemented from PloneTestCase.setup.SiteSetup.

Definition at line 372 of file setup.py.

00372 
00373     def run(self):
00374         self.app = self._app()
00375         try:
00376             if hasattr(aq_base(self.app), self.id):
00377                 self._placefulSetUp()
00378                 self.app._delObject(self.id)
00379                 self._commit()
00380         finally:
00381             self._abort()
00382             self._close()
00383             self._placefulTearDown()
00384 


Member Data Documentation

Reimplemented from PloneTestCase.setup.SiteSetup.

Definition at line 373 of file setup.py.

Definition at line 193 of file setup.py.

Definition at line 194 of file setup.py.

Reimplemented from PloneTestCase.setup.SiteSetup.

Definition at line 370 of file setup.py.

Definition at line 189 of file setup.py.

Definition at line 190 of file setup.py.

Definition at line 191 of file setup.py.

Definition at line 192 of file setup.py.


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