Changeset 3605 in products for quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests
- Timestamp:
- Oct 25, 2012 10:07:07 AM (11 years ago)
- Location:
- quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/test_doctests.py
r3124 r3605 54 54 'README.txt', package='quintagroup.formlib.captcha', 55 55 test_class=FormlibCaptchaTestCase, 56 optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | \57 58 56 optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | 57 doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), 58 ]) 59 59 60 60 if __name__ == '__main__': -
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/test_unittests.py
r3137 r3605 106 106 res = self.widget._toFieldValue(key) 107 107 except ConversionError, e: 108 self.fail("Rised unexpected %s error on right captcha submit" % \108 self.fail("Rised unexpected %s error on right captcha submit" % 109 109 e.doc()) 110 110 else: … … 128 128 self.assertEqual(e.doc(), u'Please re-enter validation code.') 129 129 else: 130 self.fail("No ConversionError rised on right captcha key " \130 self.fail("No ConversionError rised on right captcha key " 131 131 "submitting twice") 132 132
Note: See TracChangeset
for help on using the changeset viewer.