WithAttributes inheritance easy to get wrong
Bug #1118119 reported by
Christopher Yeoh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Medium
|
Unassigned |
Bug Description
When inherting from WithAttributes to use the @attr decorator WithAttributes has to be put before testtools.TestCase or the @attr decorator won't actually do anything.
Although the example in the documentation shows that WithAttributes first, it doesn't mention that it has to be put first. Also it fails silently without any warning so its difficult to debug what is wrong.
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.