Changeset 2000 in products


Ignore:
Timestamp:
Mar 24, 2010 5:14:18 PM (14 years ago)
Author:
mylan
Message:

Move all test-related constants from config into tests/base module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecaptchas/branches/split2packs/quintagroup/plonecaptchas/config.py

    r1690 r2000  
    11GLOBALS = globals() 
    22PRODUCT_NAME = 'quintagroup.plonecaptchas' 
    3 CAPTCHA_KEY = 'captcha_key' 
    4 CAPTCHAS_COUNT = 165 
    5  
    6 LAYERS = ['captchas', 'plone_captchas', 'captchas_discussion',  
    7     'captchas_sendto_form', 'captchas_join_form'] 
    8 LAYER_DYNAMIC_CAPTCHAS = 'plone_captchas/dynamic' 
    9 LAYER_STATIC_CAPTCHAS = 'plone_captchas/static' 
    10 ALL_LAYERS = LAYERS + [LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS] 
    113 
    124#TOOL_ICON = 'tool.gif' 
    13 TOOL_ICON = 'skins/plone_captchas/tool.gif' 
    14 TOOL_ID = 'portal_captchas' 
    15 CONFIGLET_ID = "qpc_tool" 
    16 PROPERTY_SHEET = 'qPloneCaptchas' 
    17  
    18 DEFAULT_IMAGE_SIZE = 27 
    19 DEFAULT_BG = 'gray' 
    20 DEFAULT_FONT_COLOR = 'black' 
    21 DEFAULT_PERIOD = 0.1 
    22 DEFAULT_AMPLITUDE = 5 
    23 DEFAULT_OFFSET = (0.5, 0.5) 
    24 DEFAULT_DISTORTION = [DEFAULT_PERIOD, DEFAULT_AMPLITUDE, DEFAULT_OFFSET] 
Note: See TracChangeset for help on using the changeset viewer.