Back to index

plone3  3.1.7
Functions | Variables
plone.fieldsets.tests Namespace Reference

Functions

def formSetUp
def test_suite

Variables

tuple OPTIONFLAGS

Function Documentation

Definition at line 13 of file tests.py.

00013 
00014 def formSetUp(test):
00015     from zope.app.form.browser import TextWidget
00016     from zope.app.form.interfaces import IInputWidget
00017     from zope.publisher.interfaces.browser import IBrowserRequest
00018     from zope.schema.interfaces import ITextLine
00019     testing.setUp(test)
00020     provideAdapter(
00021         TextWidget, [ITextLine, IBrowserRequest], IInputWidget, )
00022 

Definition at line 23 of file tests.py.

00023 
00024 def test_suite():
00025     return unittest.TestSuite((
00026         doctest.DocFileSuite(
00027             'fieldsets.txt',
00028             setUp=formSetUp,
00029             tearDown=testing.tearDown,
00030             optionflags=OPTIONFLAGS),
00031         doctest.DocTestSuite(
00032             'plone.fieldsets.fieldsets'),
00033         ))


Variable Documentation

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

Definition at line 8 of file tests.py.