From f520482eb3cf29656518a43b7a4bc170556aa9ce Mon Sep 17 00:00:00 2001 From: tisto Date: Sat, 14 Jan 2012 07:03:29 +0100 Subject: [PATCH] Pep8 --- plone/app/discussion/tests/test_functional.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plone/app/discussion/tests/test_functional.py b/plone/app/discussion/tests/test_functional.py index 4a808df..25730b0 100644 --- a/plone/app/discussion/tests/test_functional.py +++ b/plone/app/discussion/tests/test_functional.py @@ -14,16 +14,20 @@ from plone.app.discussion.testing import \ 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 = [ 'functional_test_comments.txt', 'functional_test_comment_review_workflow.txt' ] + def test_suite(): suite = unittest.TestSuite() suite.addTests([ - layered(doctest.DocFileSuite(test , + layered(doctest.DocFileSuite(test, optionflags=optionflags, globs={'pprint': pprint.pprint, } @@ -31,4 +35,3 @@ def test_suite(): layer=PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING) for test in normal_testfiles]) return suite -