Back to index

plone3  3.1.7
Public Member Functions
CMFCalendar.testing.FunctionalLayer Class Reference
Inheritance diagram for CMFCalendar.testing.FunctionalLayer:
Inheritance graph
[legend]
Collaboration diagram for CMFCalendar.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.CMFCalendar
00035         import Products.CMFDefault
00036         import Products.CMFTopic
00037         import Products.DCWorkflow
00038 
00039         zcml.load_config('configure.zcml', Products.CMFCalendar)
00040         zcml.load_config('configure.zcml', Products.CMFDefault)
00041         zcml.load_config('configure.zcml', Products.CMFTopic)
00042         zcml.load_config('configure.zcml', Products.DCWorkflow)
00043 
00044         app = ZopeTestCase.app()
00045         addConfiguredSite(app, 'site', 'Products.CMFDefault:default',
00046                           snapshot=False,
00047                           extension_ids=('Products.CMFCalendar:default',
00048                                         'Products.CMFCalendar:skins_support'))
00049         transaction.commit()
00050         ZopeTestCase.close(app)

Here is the call graph for this function:

Definition at line 52 of file testing.py.

00052 
00053     def tearDown(cls):
00054         app = ZopeTestCase.app()
00055         app._delObject('site')
00056         transaction.commit()
00057         ZopeTestCase.close(app)
00058 

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