Changeset 1877 in products for quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/tests/testResponse.py
- Timestamp:
- Mar 10, 2010 7:28:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/tests/testResponse.py
r1834 r1877 1 1 import urllib, re 2 2 from cStringIO import StringIO 3 from base import getToolByName, FunctionalTestCase, newSecurityManager 4 from config import * 3 from base import * 4 5 CUSTOM_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 13 VIEW_METATAGS = ['DC.creator', 'DC.format', 'DC.date.modified', 14 'DC.date.created', 'DC.type', 'DC.distribution', 'description', 15 'keywords', 'robots', 'distribution'] 16 17 GLOBAL_CUSTOM_METATAGS = { 18 'default_custom_metatags':'metatag1|global_metatag1value\nmetatag4|global_metatag4value'} 5 19 6 20 class TestResponse(FunctionalTestCase):
Note: See TracChangeset
for help on using the changeset viewer.