TestUtil.visitTests() fails for trial TestCase instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testresources |
Fix Released
|
Undecided
|
Jonathan Lange |
Bug Description
Twisted's Trial TestCase class implements a visit() method that calls its argument. This calling convention differs to what TestUtil.
Traceback (most recent call last):
File "./test", line 149, in <module>
File "./test", line 139, in test_with_trial
File "/var/lib/
File "/var/lib/
File "/var/lib/
File "/var/lib/
File "/var/lib/
File "/usr/lib/
TypeError: 'TestAdder' object is not callable
The pyunit3k iterate_tests() method doesn't have this problem, so the bug should be fixed with r18.