Last change
on this file since 3194 was
3129,
checked in by mylan, 13 years ago
|
Initial import of the package
|
-
Property svn:eol-style set to
native
|
File size:
648 bytes
|
Rev | Line | |
---|
[3129] | 1 | import unittest |
---|
| 2 | import doctest |
---|
| 3 | |
---|
| 4 | #from zope.testing import doctestunit |
---|
| 5 | #from zope.component import testing, eventtesting |
---|
| 6 | |
---|
| 7 | from Testing import ZopeTestCase as ztc |
---|
| 8 | |
---|
| 9 | from ploneorg.kudobounty.tests import base |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | def 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 | |
---|
| 24 | if __name__ == '__main__': |
---|
| 25 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.