source: products/ploneorg.kudobounty/trunk/ploneorg/kudobounty/tests/test_doctest.py @ 3129

Last change on this file since 3129 was 3129, checked in by mylan, 10 years ago

Initial import of the package

  • Property svn:eol-style set to native
File size: 648 bytes
Line 
1import unittest
2import doctest
3
4#from zope.testing import doctestunit
5#from zope.component import testing, eventtesting
6
7from Testing import ZopeTestCase as ztc
8
9from ploneorg.kudobounty.tests import base
10
11
12def test_suite():
13    return unittest.TestSuite([
14
15        # Demonstrate the main content types
16        ztc.ZopeDocFileSuite(
17            'README.txt', package='ploneorg.kudobounty',
18            test_class=base.FunctionalTestCase,
19            optionflags=doctest.REPORT_ONLY_FIRST_FAILURE |
20                doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS),
21
22        ])
23
24if __name__ == '__main__':
25    unittest.main(defaultTest='test_suite')
Note: See TracBrowser for help on using the repository browser.