Message157018
One way to exclude base classes from being loaded as tests is to have the base class *not* inherit from TestCase (just from object) - and use it as a mixin class for the actual TestCases.
This isn't particularly elegant (but works fine). A better way of supporting this in unittest would be a reasonable request (a "not_a_test" class decorator or similar perhaps). |
|
Date |
User |
Action |
Args |
2012-03-29 10:01:23 | michael.foord | set | recipients:
+ michael.foord, eric.araujo, r.david.murray, anacrolix |
2012-03-29 10:01:23 | michael.foord | set | messageid: <1333015283.0.0.224273776531.issue14408@psf.upfronthosting.co.za> |
2012-03-29 10:01:22 | michael.foord | link | issue14408 messages |
2012-03-29 10:01:22 | michael.foord | create | |
|