Message91045
If "it may be noisy where it was silent before", then add one of those
cases and make sure the noise doesn't happen before your fix, and does
happen after.
If you have to check the value of the exception string for other tests,
then do so. There are plenty of examples of this in the existing tests,
(see the pydoc tests, for example). If you can limit what you test for
so that the test will be resitent to changes in the exact text, so much
the better. You can use assertRaisesRegexp for this in 2.7. |
|
Date |
User |
Action |
Args |
2009-07-29 16:40:22 | r.david.murray | set | recipients:
+ r.david.murray, amaury.forgeotdarc, sanxiyn, ajaksu2, Red HamsterX |
2009-07-29 16:40:22 | r.david.murray | set | messageid: <1248885622.32.0.573001583875.issue1466065@psf.upfronthosting.co.za> |
2009-07-29 16:40:21 | r.david.murray | link | issue1466065 messages |
2009-07-29 16:40:20 | r.david.murray | create | |
|