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