WithAttributes inheritance easy to get wrong

Bug #1118119 reported by Christopher Yeoh
6
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.

Jonathan Lange (jml)
Changed in testtools:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.