diff options
Diffstat (limited to 'Mailman/testing/test_cook_headers.py')
| -rw-r--r-- | Mailman/testing/test_cook_headers.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Mailman/testing/test_cook_headers.py b/Mailman/testing/test_cook_headers.py index ec8997858..dd141aab9 100644 --- a/Mailman/testing/test_cook_headers.py +++ b/Mailman/testing/test_cook_headers.py @@ -18,12 +18,9 @@ """Doctest harness for the CookHeaders handler.""" import os -import doctest import unittest -options = (doctest.ELLIPSIS - | doctest.NORMALIZE_WHITESPACE - | doctest.REPORT_NDIFF) +from Mailman.testing.base import make_docfile_suite def test_suite(): @@ -31,5 +28,5 @@ def test_suite(): for filename in ('ack-headers', 'cook-headers', 'subject-munging', 'reply-to'): path = os.path.join('..', 'docs', filename + '.txt') - suite.addTest(doctest.DocFileSuite(path, optionflags=options)) + suite.addTest(make_docfile_suite(path)) return suite |
