Back to index

plone3  3.1.7
Functions | Variables
plone.app.form.tests.test_kss Namespace Reference

Functions

def setUp
def tearDown
def test_suite

Variables

tuple optionflags

Function Documentation

Definition at line 16 of file test_kss.py.

00016 
00017 def setUp(test):
00018     zcml.load_config('configure.zcml', Products.Five)
00019     zcml.load_config('meta.zcml', kss.core)
00020     zcml.load_config('configure.zcml', kss.core)
00021     zcml.load_config('configure-unittest.zcml', kss.core.tests)
00022     zcml.load_config('configure.zcml', plone.app.form)
00023     zcml.load_config('configure.zcml', plone.memoize)
00024     zcml.load_config('configure.zcml', plone.app.kss)

Definition at line 25 of file test_kss.py.

00025 
00026 def tearDown(test):
00027     cleanup.cleanUp()

Definition at line 28 of file test_kss.py.

00028 
00029 def test_suite():
00030     return unittest.TestSuite([
00031         doctest.DocFileSuite('kss/formlib_kss.txt',
00032                              package='plone.app.form',
00033                              setUp=setUp,
00034                              tearDown=tearDown,
00035                              optionflags=optionflags),
00036         ])

Variable Documentation

Initial value:
00001 (doctest.ELLIPSIS |
00002                 doctest.NORMALIZE_WHITESPACE)

Definition at line 12 of file test_kss.py.