Changeset 7301


Ignore:
Timestamp:
7 Dec 2011, 06:10:56 (13 years ago)
Author:
uli
Message:

Reflect StaticCaptcha? changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/tests/test_captcha.py

    r7298 r7301  
    2525    ICaptchaResponse, ICaptchaRequest, ICaptcha, ICaptchaChooser)
    2626from waeup.sirp.browser.captcha import (
    27     CaptchaResponse, CaptchaRequest, NullCaptcha, IdCaptcha, CaptchaChooser)
     27    CaptchaResponse, CaptchaRequest, NullCaptcha, StaticCaptcha, CaptchaChooser)
    2828
    2929class CaptchaResponseTests(FunctionalTestCase):
     
    102102        return
    103103
    104 class IdCaptchaTests(FunctionalTestCase, CaptchaTestBase):
    105 
    106     layer = FunctionalLayer
    107 
    108     factory = IdCaptcha
     104class StaticCaptchaTests(FunctionalTestCase, CaptchaTestBase):
     105
     106    layer = FunctionalLayer
     107
     108    factory = StaticCaptcha
    109109    name = 'Testing captcha'
    110110
     
    136136            '<input type="hidden" name="challenge"'
    137137            '      value="..." /><br />Type: ...<br />'
    138             '<input type="text" name="solution" /><br />',
     138            '<input type="text" name="solution" value="the-solution" /><br />',
    139139            result)
    140140        return
Note: See TracChangeset for help on using the changeset viewer.