Message266600
Proposed patch adds the ExtraAssertions mix-in that provides additional assert methods. These methods provide better failure report than assertTrue/assertFalse with a result of corresponding function. For example assertStartsWith outputs shorten reprs of the start of the string and prefix.
These checks are quite popular and can be used tens or hundreds times in tests (the patch makes tests using new assert methods):
assertHasAttr 121 times
assertNotHasAttr 99 times
assertIsSubclass 243 times
assertNotIsSubclass 95 times
assertStartsWith 131 times
assertEndsWith 73 times |
|
Date |
User |
Action |
Args |
2016-05-29 15:25:21 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rbcollins, ezio.melotti, r.david.murray, michael.foord |
2016-05-29 15:25:19 | serhiy.storchaka | set | messageid: <1464535519.92.0.0853489345335.issue27152@psf.upfronthosting.co.za> |
2016-05-29 15:25:19 | serhiy.storchaka | link | issue27152 messages |
2016-05-29 15:25:19 | serhiy.storchaka | create | |
|