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