Pep8
This commit is contained in:
parent
d5ccd2e2be
commit
f520482eb3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user