Changeset 2708 in products for quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/tests/base.py
- Timestamp:
- Jul 20, 2010 6:15:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/tests/base.py
r2642 r2708 22 22 # All of Plone's products are already set up by PloneTestCase. 23 23 24 PROJECT_NAME = 'quintagroup.gdocs.spreadsheet' 25 24 26 @onsetup 25 27 def setup_product(): … … 37 39 fiveconfigure.debug_mode = True 38 40 import quintagroup.gdocs.spreadsheet 41 import quintagroup.gauth 42 import Products.DataGridField 39 43 zcml.load_config('configure.zcml', quintagroup.gdocs.spreadsheet) 44 zcml.load_config('configure.zcml', quintagroup.gauth) 45 zcml.load_config('configure.zcml', Products.DataGridField) 40 46 fiveconfigure.debug_mode = False 41 47 … … 51 57 # ztc.installPackage('borg.localrole') 52 58 53 ztc.installPackage( 'quintagroup.gdocs.spreadsheet')59 ztc.installPackage(PROJECT_NAME) 54 60 55 61 # The order here is important: We first call the (deferred) function … … 58 64 59 65 setup_product() 60 ptc.setupPloneSite(products=[ 'quintagroup.gdocs.spreadsheet'])66 ptc.setupPloneSite(products=[PROJECT_NAME]) 61 67 62 68 class TestCase(ptc.PloneTestCase):
Note: See TracChangeset
for help on using the changeset viewer.