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

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

Added browser testing creation and modification GSpreadsheet

File size: 826 bytes
Line 
1import unittest
2import doctest
3
4import zope.component
5from Testing import ZopeTestCase as ztc
6
7from quintagroup.gauth.interfaces import IGAuthUtility
8from quintagroup.gdocs.spreadsheet.tests import base
9
10
11def setUp(test):
12
13    """substitution using the adapter services gdata"""
14    import quintagroup.gdocs.spreadsheet.tests.adapters
15
16
17def test_suite():
18    return unittest.TestSuite([
19
20        # Demonstrate the main content types
21        ztc.ZopeDocFileSuite(
22            'README.txt', package='quintagroup.gdocs.spreadsheet',
23            test_class=base.FunctionalTestCase,
24            optionflags=doctest.REPORT_ONLY_FIRST_FAILURE |
25                doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
26            setUp=setUp,
27            ),
28        ])
29
30if __name__ == '__main__':
31    unittest.main(defaultTest='test_suite')
Note: See TracBrowser for help on using the repository browser.