Back to index

plone3  3.1.7
Public Member Functions
wicked.at.tests.wickedtestcase.WickedSite Class Reference
Inheritance diagram for wicked.at.tests.wickedtestcase.WickedSite:
Inheritance graph
[legend]
Collaboration diagram for wicked.at.tests.wickedtestcase.WickedSite:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Detailed Description

Definition at line 41 of file wickedtestcase.py.


Member Function Documentation

Definition at line 44 of file wickedtestcase.py.

00044 
00045     def setUp(cls):
00046         app = ZopeTestCase.app()
00047         plone = app.plone
00048         reg = BasePloneWickedRegistration(plone)
00049         import wicked.atcontent
00050         from wicked.atcontent.zope2 import initialize
00051         init_product(wicked.atcontent, app, initialize)
00052         zcml.load_config("configure.zcml", package=wicked.atcontent)
00053         reg.handle()
00054         txn.commit()
00055         ZopeTestCase.close(app)

Here is the call graph for this function:

Definition at line 57 of file wickedtestcase.py.

00057 
00058     def tearDown(cls):
00059         app = ZopeTestCase.app()
00060         plone = app.plone
00061         reg = BasePloneWickedRegistration(plone)
00062         reg.handle(unregister=True)
00063         txn.commit()
00064         ZopeTestCase.close(app)
00065 
00066 # This is the test case. You will have to add test_<methods> to your
# class in order to assert things about your Product.

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