Permalink
Browse files

Use the standard libraries doctest module.

svn path=/plone.app.imaging/trunk/; revision=37970
  • Loading branch information...
1 parent eb12b0f commit 6571d3192fc127b50c1d443364f28fcf6aa17e11 @hannosch hannosch committed Jul 18, 2010
Showing with 9 additions and 6 deletions.
  1. +3 −0 docs/HISTORY.txt
  2. +1 −1 setup.py
  3. +5 −5 src/plone/app/imaging/tests/test_doctests.py
View
@@ -4,6 +4,9 @@ Changelog
1.0 - unreleased
----------------
+- Use the standard libraries doctest module.
+ [hannosch]
+
- Update license to GPL version 2 only.
[hannosch]
View
@@ -35,7 +35,7 @@
'setuptools',
'plone.scale [storage]',
],
- extras_require = {'test': ['collective.testcaselayer',]},
+ extras_require = {'test': ['collective.testcaselayer', ]},
platforms = 'Any',
zip_safe = False,
entry_points = '''
@@ -1,13 +1,13 @@
+import doctest
from unittest import TestSuite
-from zope.testing import doctest
-from Testing import ZopeTestCase as ztc
+
from plone.app.controlpanel.tests.cptc import ControlPanelTestCase
+from Testing import ZopeTestCase as ztc
+
from plone.app.imaging.tests.base import ImagingFunctionalTestCase
from plone.app.imaging import testing
-
-optionflags = (doctest.REPORT_ONLY_FIRST_FAILURE |
- doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
+optionflags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
class ImagingControlPanelTestCase(ControlPanelTestCase):

0 comments on commit 6571d31

Please sign in to comment.