Back to index

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

Functions

def setUp
def tearDown
def test_suite

Variables

tuple optionflags

Function Documentation

Definition at line 12 of file test_widgets.py.

00012 
00013 def setUp(test):
00014     zcml.load_config('configure.zcml', Products.Five)
00015     zcml.load_config('configure.zcml', plone.app.form)

Definition at line 16 of file test_widgets.py.

00016 
00017 def tearDown(test):
00018     cleanup.cleanUp()

Definition at line 19 of file test_widgets.py.

00019 
00020 def test_suite():
00021     return unittest.TestSuite([
00022         doctest.DocFileSuite('widgets/uberselectionwidget.txt',
00023                              package='plone.app.form',
00024                              setUp=setUp,
00025                              tearDown=tearDown,
00026                              optionflags=optionflags),
00027         ])

Variable Documentation

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

Definition at line 7 of file test_widgets.py.