Changeset 7301 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 7 Dec 2011, 06:10:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/tests/test_captcha.py
r7298 r7301 25 25 ICaptchaResponse, ICaptchaRequest, ICaptcha, ICaptchaChooser) 26 26 from waeup.sirp.browser.captcha import ( 27 CaptchaResponse, CaptchaRequest, NullCaptcha, IdCaptcha, CaptchaChooser)27 CaptchaResponse, CaptchaRequest, NullCaptcha, StaticCaptcha, CaptchaChooser) 28 28 29 29 class CaptchaResponseTests(FunctionalTestCase): … … 102 102 return 103 103 104 class IdCaptchaTests(FunctionalTestCase, CaptchaTestBase):105 106 layer = FunctionalLayer 107 108 factory = IdCaptcha104 class StaticCaptchaTests(FunctionalTestCase, CaptchaTestBase): 105 106 layer = FunctionalLayer 107 108 factory = StaticCaptcha 109 109 name = 'Testing captcha' 110 110 … … 136 136 '<input type="hidden" name="challenge"' 137 137 ' value="..." /><br />Type: ...<br />' 138 '<input type="text" name="solution" /><br />',138 '<input type="text" name="solution" value="the-solution" /><br />', 139 139 result) 140 140 return
Note: See TracChangeset for help on using the changeset viewer.