Last change
on this file since 1697 was
1697,
checked in by mylan, 14 years ago
|
Revert last commit, whic was mix of two changes
|
-
Property svn:eol-style set to
native
|
File size:
925 bytes
|
Rev | Line | |
---|
[782] | 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 | def test_suite(): |
---|
| 8 | return unittest.TestSuite([ |
---|
| 9 | |
---|
[1697] | 10 | # Unit tests for your API |
---|
| 11 | doctestunit.DocFileSuite( |
---|
| 12 | 'README.txt', package='quintagroup.canonicalpath', |
---|
| 13 | setUp=testing.setUp, tearDown=testing.tearDown), |
---|
[782] | 14 | |
---|
| 15 | #doctestunit.DocTestSuite( |
---|
| 16 | # module='quintagroup.canonicalpath.mymodule', |
---|
| 17 | # setUp=testing.setUp, tearDown=testing.tearDown), |
---|
| 18 | |
---|
[1697] | 19 | # Integration tests that use ZopeTestCase |
---|
[782] | 20 | #ztc.ZopeDocFileSuite( |
---|
| 21 | # 'README.txt', package='quintagroup.canonicalpath', |
---|
[1697] | 22 | # setUp=testing.setUp, tearDown=testing.tearDown), |
---|
[782] | 23 | |
---|
| 24 | #ztc.FunctionalDocFileSuite( |
---|
[1697] | 25 | # 'browser.txt', package='quintagroup.canonicalpath'), |
---|
[782] | 26 | |
---|
| 27 | ]) |
---|
| 28 | |
---|
| 29 | if __name__ == '__main__': |
---|
| 30 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.