This commit is contained in:
tisto 2012-01-14 07:03:29 +01:00
parent d5ccd2e2be
commit f520482eb3

View File

@ -14,12 +14,16 @@ from plone.app.discussion.testing import \
PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING
optionflags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE | doctest.REPORT_ONLY_FIRST_FAILURE) optionflags = (
doctest.ELLIPSIS | \
doctest.NORMALIZE_WHITESPACE | \
doctest.REPORT_ONLY_FIRST_FAILURE)
normal_testfiles = [ normal_testfiles = [
'functional_test_comments.txt', 'functional_test_comments.txt',
'functional_test_comment_review_workflow.txt' 'functional_test_comment_review_workflow.txt'
] ]
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTests([ suite.addTests([
@ -31,4 +35,3 @@ def test_suite():
layer=PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING) layer=PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING)
for test in normal_testfiles]) for test in normal_testfiles])
return suite return suite