Back to index

plone3  3.1.7
test_functional.py
Go to the documentation of this file.
00001 from zope.testing import doctest
00002 from unittest import TestSuite
00003 from utils import optionflags
00004 from Testing.ZopeTestCase import FunctionalDocFileSuite
00005 from base import WorkflowFunctionalTestCase
00006 
00007 def test_suite():
00008     tests = ['onestateworkflow.txt', 'sharingpage.txt',]
00009     suite = TestSuite()
00010     for test in tests:
00011         suite.addTest(FunctionalDocFileSuite(test,
00012             optionflags=optionflags,
00013             package="plone.app.workflow.tests",
00014             test_class=WorkflowFunctionalTestCase))
00015     return suite