Changeset 3605 in products


Ignore:
Timestamp:
Oct 25, 2012 10:07:07 AM (7 years ago)
Author:
vmaksymiv
Message:

Pep fixes

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  
    5454            'README.txt', package='quintagroup.formlib.captcha', 
    5555            test_class=FormlibCaptchaTestCase, 
    56             optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | \ 
    57                         doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), 
    58         ]) 
     56            optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | 
     57            doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS), 
     58    ]) 
    5959 
    6060if __name__ == '__main__': 
  • quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/test_unittests.py

    r3137 r3605  
    106106            res = self.widget._toFieldValue(key) 
    107107        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" % 
    109109                      e.doc()) 
    110110        else: 
     
    128128            self.assertEqual(e.doc(), u'Please re-enter validation code.') 
    129129        else: 
    130             self.fail("No ConversionError rised on right captcha key " \ 
     130            self.fail("No ConversionError rised on right captcha key " 
    131131                      "submitting twice") 
    132132 
Note: See TracChangeset for help on using the changeset viewer.