Ignore:
Timestamp:
Sep 10, 2010 12:19:57 PM (14 years ago)
Author:
mylan
Message:

#195: Fixed problem with breakage doctests

Location:
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/example.py

    r2802 r2803  
    1616 
    1717class CaptchaFormlibFormAdapter(object): 
    18     adapts(Interface) 
    1918    implements(ICaptchaFormlibFormSchema) 
     19 
     20    def __init__(self, context): 
     21        self.context = context 
     22 
    2023    label = u'' 
    2124    captcha = None 
     
    2427 
    2528class CaptchaFormlibForm(EditForm): 
     29 
    2630    form_fields = FormFields(ICaptchaFormlibFormSchema) 
  • quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/tests.zcml

    r2802 r2803  
    33    xmlns:browser="http://namespaces.zope.org/browser"> 
    44 
    5   <adapter factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> 
     5  <adapter 
     6     for="*" 
     7     factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> 
    68 
    79  <browser:page 
Note: See TracChangeset for help on using the changeset viewer.