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 | |
---|
1 | import unittest |
---|
2 | import doctest |
---|
3 | |
---|
4 | import zope.component |
---|
5 | from Testing import ZopeTestCase as ztc |
---|
6 | |
---|
7 | from quintagroup.gauth.interfaces import IGAuthUtility |
---|
8 | from quintagroup.gdocs.spreadsheet.tests import base |
---|
9 | |
---|
10 | |
---|
11 | def setUp(test): |
---|
12 | |
---|
13 | """substitution using the adapter services gdata""" |
---|
14 | import quintagroup.gdocs.spreadsheet.tests.adapters |
---|
15 | |
---|
16 | |
---|
17 | def 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 | |
---|
30 | if __name__ == '__main__': |
---|
31 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.