Back to index

plone3  3.1.7
test_doctests.py
Go to the documentation of this file.
00001 from unittest import TestSuite
00002 from zope.testing import doctest
00003 from Testing import ZopeTestCase as ztc
00004 from plone.app.redirector.tests.base import RedirectorFunctionalTestCase
00005 
00006 optionflags = (doctest.REPORT_ONLY_FIRST_FAILURE |
00007                doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
00008 
00009 
00010 def test_suite():
00011     return TestSuite([
00012         ztc.FunctionalDocFileSuite(
00013            'browser.txt', package='plone.app.redirector.tests',
00014            test_class=RedirectorFunctionalTestCase, optionflags=optionflags),
00015     ])
00016