Last change
on this file since 3189 was
3141,
checked in by zidane, 13 years ago
|
fixes pyflakes
|
File size:
929 bytes
|
Line | |
---|
1 | import unittest |
---|
2 | import doctest |
---|
3 | |
---|
4 | from quintagroup.seoptimizer.tests.base import FunctionalTestCase, \ |
---|
5 | FunctionalTestCaseNotInstalled, ztc |
---|
6 | |
---|
7 | |
---|
8 | def test_suite(): |
---|
9 | return unittest.TestSuite([ |
---|
10 | |
---|
11 | # Demonstrate the main content types |
---|
12 | ztc.FunctionalDocFileSuite( |
---|
13 | 'seo_migration.txt', package='quintagroup.seoptimizer.tests', |
---|
14 | test_class=FunctionalTestCaseNotInstalled, globs=globals(), |
---|
15 | optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | |
---|
16 | doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), |
---|
17 | |
---|
18 | ztc.FunctionalDocFileSuite( |
---|
19 | 'seo_properties.txt', package='quintagroup.seoptimizer.tests', |
---|
20 | test_class=FunctionalTestCase, globs=globals(), |
---|
21 | optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | |
---|
22 | doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), |
---|
23 | |
---|
24 | ]) |
---|
25 | |
---|
26 | if __name__ == '__main__': |
---|
27 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.