Back to index

plone3  3.1.7
Public Member Functions
CMFDefault.testing.FunctionalLayer Class Reference
Inheritance diagram for CMFDefault.testing.FunctionalLayer:
Inheritance graph
[legend]
Collaboration diagram for CMFDefault.testing.FunctionalLayer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Detailed Description

Definition at line 29 of file testing.py.


Member Function Documentation

Definition at line 32 of file testing.py.

00032 
00033     def setUp(cls):
00034         import Products.CMFDefault
00035         import Products.CMFTopic
00036         import Products.DCWorkflow
00037 
00038         zcml.load_config('configure.zcml', Products.CMFDefault)
00039         zcml.load_config('configure.zcml', Products.CMFTopic)
00040         zcml.load_config('configure.zcml', Products.DCWorkflow)
00041 
00042         app = ZopeTestCase.app()
00043         addConfiguredSite(app, 'site', 'Products.CMFDefault:default',
00044                           snapshot=False)
00045         transaction.commit()
00046         ZopeTestCase.close(app)

Here is the call graph for this function:

Definition at line 48 of file testing.py.

00048 
00049     def tearDown(cls):
00050         app = ZopeTestCase.app()
00051         app._delObject('site')
00052         transaction.commit()
00053         ZopeTestCase.close(app)
00054 

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