Changeset 3137 in products
- Timestamp:
- Apr 18, 2011 3:43:01 PM (13 years ago)
- Location:
- quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/__init__.py
r2210 r3137 1 from widget import CaptchaWidget 2 from field import Captcha 1 from quintagroup.formlib.captcha.widget import CaptchaWidget 2 from quintagroup.formlib.captcha.field import Captcha 3 #for pyflakes test 4 CaptchaWidget 5 Captcha -
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/test_unittests.py
r3124 r3137 124 124 self.widget._toFieldValue(key) 125 125 try: 126 res =self.widget._toFieldValue(key)126 self.widget._toFieldValue(key) 127 127 except ConversionError, e: 128 128 self.assertEqual(e.doc(), u'Please re-enter validation code.') -
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/widget.py
r3124 r3137 3 3 try: 4 4 from zope.site.hooks import getSite 5 getSite() 5 6 except ImportError: 6 7 from zope.app.component.hooks import getSite
Note: See TracChangeset
for help on using the changeset viewer.