Ignore:
Timestamp:
Mar 10, 2010 7:28:40 PM (14 years ago)
Author:
mylan
Message:

Remove config module from tests, move all constants into testInstallation and testResponce modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/tests/testResponse.py

    r1834 r1877  
    11import urllib, re 
    22from cStringIO import StringIO 
    3 from base import getToolByName, FunctionalTestCase, newSecurityManager 
    4 from config import * 
     3from base import * 
     4 
     5CUSTOM_METATAGS = [{'meta_name'    : 'metatag1', 
     6                    'meta_content' : 'metatag1value'}, 
     7                   {'meta_name'    : 'metatag2', 
     8                    'meta_content' : 'metatag2value'}, 
     9                   {'meta_name'    : 'metatag3', 
     10                    'meta_content' : ''} 
     11                  ] 
     12 
     13VIEW_METATAGS = ['DC.creator', 'DC.format', 'DC.date.modified', 
     14    'DC.date.created', 'DC.type', 'DC.distribution', 'description', 
     15    'keywords', 'robots', 'distribution'] 
     16 
     17GLOBAL_CUSTOM_METATAGS = { 
     18    'default_custom_metatags':'metatag1|global_metatag1value\nmetatag4|global_metatag4value'} 
    519 
    620class TestResponse(FunctionalTestCase): 
Note: See TracChangeset for help on using the changeset viewer.