Message177908
The base test class should not inherit from TestCase: it will be picked up by test discovery and then will break, as self.module will be None.
Typical usage:
class OperatorTestsMixin:
module = None
class COperatorTests(OperatorTestsMixin, unittest.TestCase):
module = _operator |
|
Date |
User |
Action |
Args |
2012-12-21 23:28:45 | eric.araujo | set | recipients:
+ eric.araujo, brett.cannon, jcea, Arfrever, zach.ware, serhiy.storchaka |
2012-12-21 23:28:45 | eric.araujo | set | messageid: <1356132525.59.0.966507552724.issue16694@psf.upfronthosting.co.za> |
2012-12-21 23:28:45 | eric.araujo | link | issue16694 messages |
2012-12-21 23:28:45 | eric.araujo | create | |
|