source: products/quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/tests/test_doctest.py @ 2708

Last change on this file since 2708 was 2708, checked in by liebster, 14 years ago

Edited doc tests created ZopeSkel?

File size: 667 bytes
Line 
1import unittest
2import doctest
3
4#from zope.testing import doctestunit
5#from zope.component import testing, eventtesting
6
7from Testing import ZopeTestCase as ztc
8
9from quintagroup.gdocs.spreadsheet.tests import base
10
11def test_suite():
12    return unittest.TestSuite([
13
14        # Demonstrate the main content types
15        ztc.ZopeDocFileSuite(
16            'README.txt', package='quintagroup.gdocs.spreadsheet',
17            test_class=base.FunctionalTestCase,
18            optionflags=doctest.REPORT_ONLY_FIRST_FAILURE |
19                doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS),
20
21        ])
22
23if __name__ == '__main__':
24    unittest.main(defaultTest='test_suite')
Note: See TracBrowser for help on using the repository browser.