|
Last change
on this file since 2137 was
2137,
checked in by kroman0, 16 years ago
|
|
PEP8 fixes
|
|
File size:
967 bytes
|
| Line | |
|---|
| 1 | import unittest |
|---|
| 2 | |
|---|
| 3 | from zope.testing import doctestunit |
|---|
| 4 | from zope.component import testing |
|---|
| 5 | from Testing import ZopeTestCase as ztc |
|---|
| 6 | |
|---|
| 7 | from base import getToolByName, TestCase |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | def test_suite(): |
|---|
| 11 | return unittest.TestSuite([ |
|---|
| 12 | |
|---|
| 13 | # Unit tests |
|---|
| 14 | #doctestunit.DocFileSuite( |
|---|
| 15 | # 'README.txt', package='quintagroup.plonecomments', |
|---|
| 16 | # setUp=testing.setUp, tearDown=testing.tearDown), |
|---|
| 17 | |
|---|
| 18 | #doctestunit.DocTestSuite( |
|---|
| 19 | # module='quintagroup.plonecomments.mymodule', |
|---|
| 20 | # setUp=testing.setUp, tearDown=testing.tearDown), |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | # Integration tests that use PloneTestCase |
|---|
| 24 | #ztc.ZopeDocFileSuite( |
|---|
| 25 | # 'README.txt', package='quintagroup.plonecomments', |
|---|
| 26 | # test_class=TestCase), |
|---|
| 27 | |
|---|
| 28 | #ztc.FunctionalDocFileSuite( |
|---|
| 29 | # 'browser.txt', package='quintagroup.plonecomments', |
|---|
| 30 | # test_class=TestCase), |
|---|
| 31 | |
|---|
| 32 | ]) |
|---|
| 33 | |
|---|
| 34 | if __name__ == '__main__': |
|---|
| 35 | unittest.main(defaultTest='test_suite') |
|---|
Note: See
TracBrowser
for help on using the repository browser.