Message157045
The convention in the stdlib is to name the mixin classes TestXXXBase. Granted, a lot of those inherit from TestCase. I have no objection to calling them Mixin instead, I'm just pointing out that there is an existing convention.
(As an aside, when I first ran into the Base pattern it was in a file where the Base did subclass TestCase, and it took me forever to figure out that the Base test wasn't actually getting run. So a decorator is definitely superior to listing the test cases that actually run elsewhere in the file!) |
|
Date |
User |
Action |
Args |
2012-03-29 13:41:04 | r.david.murray | set | recipients:
+ r.david.murray, eric.araujo, michael.foord, anacrolix |
2012-03-29 13:41:04 | r.david.murray | set | messageid: <1333028464.53.0.719908769678.issue14408@psf.upfronthosting.co.za> |
2012-03-29 13:41:03 | r.david.murray | link | issue14408 messages |
2012-03-29 13:41:03 | r.david.murray | create | |
|