Changeset 3152 in products for quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/tests/test_doctest.py
- Timestamp:
- Apr 20, 2011 8:20:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/tests/test_doctest.py
r3002 r3152 4 4 from base import * 5 5 from Products.CMFPlone.utils import _createObjectByType 6 6 7 7 8 class DocTestCase(FunctionalTestCase): … … 15 16 doc.edit(text_format='plain', text=text) 16 17 self.workflow.doActionFor(doc, 'publish') 17 #return doc 18 #return doc 19 18 20 19 21 def test_suite(): … … 24 26 'filters.txt', package='quintagroup.plonegooglesitemaps', 25 27 test_class=DocTestCase, globs=globals(), 26 optionflags= 28 optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), 27 29 # | doctest.REPORT_ONLY_FIRST_FAILURE | 28 30 ])
Note: See TracChangeset
for help on using the changeset viewer.