when given a bad python object path:

Bug #43469 reported by Robert Collins
4
Affects Status Importance Assigned to Milestone
Tribunal
Fix Released
Medium
Unassigned

Bug Description

Traceback (most recent call last):
  File "/home/robertc/source/unittest/tribunal/tribunal/progress.py", line 225, in event_runClicked
    self.run()
  File "/home/robertc/source/unittest/tribunal/tribunal/progress.py", line 254, in run
    test = self.getSuite()
  File "/home/robertc/source/unittest/tribunal/tribunal/progress.py", line 287, in getSuite
    return YieldTestSuite(self.event_suiteFinished, tests)
  File "/home/robertc/source/unittest/tribunal/tribunal/progress.py", line 94, in __init__
    super(YieldTestSuite, self).__init__(tests)
  File "/usr/lib/python2.4/unittest.py", line 397, in __init__
    self.addTests(tests)
  File "/usr/lib/python2.4/unittest.py", line 418, in addTests
    self.addTest(test)
  File "/home/robertc/source/unittest/tribunal/tribunal/progress.py", line 108, in addTest
    test.visit(adder)
AttributeError: 'ErrorHolder' object has no attribute 'visit'

Revision history for this message
Robert Collins (lifeless) wrote :

more detail, I a python module called 'runtests', it has a method 'test_suite()' that returns a TestSuite.

I run tribunal:
PYTHONPATH=.:../tribunal ../bin/tribunal
and enter
runtests.test_suite
in the bar, click run, and that traceback occurs.

Revision history for this message
Robert Collins (lifeless) wrote :

Turns out this was an upstream twisted trial bug that jml has hacked on last week. Closing it here as irrelevant noise :)

Changed in tribunal:
status: New → Fix Released
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.