[Buildbot-commits] [Buildbot] #2060: Trial's tests parameter doesn't accept Property objects

Buildbot nobody at buildbot.net
Fri Jul 22 14:43:21 UTC 2011


#2060: Trial's tests parameter doesn't accept Property objects
----------------------+-----------------------
Reporter:  dwyerk     |      Owner:
    Type:  undecided  |     Status:  new
Priority:  minor      |  Milestone:  undecided
 Version:  0.8.4p1    |   Keywords:
----------------------+-----------------------
 buildbot.steps.python_twisted.Trial(tests=Property('my_tests')) causes an
 exception at python_twisted.py:411 in start():

     self.command.extend(self.tests)
 exceptions.TypeError: iteration over non-sequence

 I was able to work around it by subclassing Trial and defining a
 renderables class variable that appended "tests" to Trial.renderables, but
 I can't tell if that's the appropriate fix.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2060>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list