Last change
on this file since 1834 was
1834,
checked in by mylan, 14 years ago
|
Rename all tests modules to easyer and shorter names
|
File size:
666 bytes
|
Rev | Line | |
---|
[1494] | 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 quintagroup.seoptimizer.tests import base |
---|
| 10 | |
---|
| 11 | def test_suite(): |
---|
| 12 | return unittest.TestSuite([ |
---|
| 13 | |
---|
| 14 | # Demonstrate the main content types |
---|
[1674] | 15 | ztc.FunctionalDocFileSuite( |
---|
| 16 | 'browser.txt', package='quintagroup.seoptimizer.tests', |
---|
[1834] | 17 | test_class=base.FunctionalTestCase, |
---|
[1494] | 18 | optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | |
---|
| 19 | doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), |
---|
| 20 | |
---|
| 21 | ]) |
---|
| 22 | |
---|
| 23 | if __name__ == '__main__': |
---|
| 24 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.