testtools.skip decorator not functional with unittest.TestCase as base class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Medium
|
Unassigned |
Bug Description
This may or may not be a bug, but its certainly a change in behaviour between versions of testtools/
testtools: 1.4.0
unittest2: 0.8.0
Inheritance chain: AppsTest -> ScopeHarnessTes
AppsTest uses the skip decorator:
class AppsTest (ScopeHarnessTe
@testtools.
def setUp(self):
Results in an ERROR:
=======
ERROR: tests.test_
-------
Traceback (most recent call last):
unittest2.
switching the base class to testtools.TestCase resolves the problem, and looks more consistent.
For reference, these tests passed OK with:
testtools: 0.9.39
unittest2: 0.5.1