Ignore:
Timestamp:
Jul 20, 2010 6:15:53 PM (14 years ago)
Author:
liebster
Message:

Edited doc tests created ZopeSkel?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/tests/base.py

    r2642 r2708  
    2222# All of Plone's products are already set up by PloneTestCase. 
    2323 
     24PROJECT_NAME = 'quintagroup.gdocs.spreadsheet' 
     25 
    2426@onsetup 
    2527def setup_product(): 
     
    3739    fiveconfigure.debug_mode = True 
    3840    import quintagroup.gdocs.spreadsheet 
     41    import quintagroup.gauth 
     42    import Products.DataGridField 
    3943    zcml.load_config('configure.zcml', quintagroup.gdocs.spreadsheet) 
     44    zcml.load_config('configure.zcml', quintagroup.gauth) 
     45    zcml.load_config('configure.zcml', Products.DataGridField) 
    4046    fiveconfigure.debug_mode = False 
    4147 
     
    5157    #   ztc.installPackage('borg.localrole') 
    5258 
    53     ztc.installPackage('quintagroup.gdocs.spreadsheet') 
     59    ztc.installPackage(PROJECT_NAME) 
    5460 
    5561# The order here is important: We first call the (deferred) function 
     
    5864 
    5965setup_product() 
    60 ptc.setupPloneSite(products=['quintagroup.gdocs.spreadsheet']) 
     66ptc.setupPloneSite(products=[PROJECT_NAME]) 
    6167 
    6268class TestCase(ptc.PloneTestCase): 
Note: See TracChangeset for help on using the changeset viewer.