[Buildbot] #2524: Property('buildnumber') returns None on first build

Buildbot trac trac at buildbot.net
Mon Jul 27 00:19:17 UTC 2015


#2524: Property('buildnumber') returns None on first build
----------------------------------+--------------------
Reporter:  cmumford               |       Owner:
    Type:  defect                 |      Status:  new
Priority:  major                  |   Milestone:  0.9.0
 Version:  0.8.7p1                |  Resolution:
Keywords:  simple, tests, sprint  |
----------------------------------+--------------------
Changes (by dustin):

 * keywords:  simple, tests => simple, tests, sprint
 * milestone:  0.8.x => 0.9.0


Comment:

 From pull 1552, which appears to be stalled:

 If prop 'foo' is False and prop 'nosuch' does not exist, then:

  *  Property('foo') should evaluate to False
  *  Property('foo', 'bar') should evaluate to False
  *  Property('foo', 'bar', defaulWhenFalse=False) should evaluate to False
  *  Property('foo', 'bar', defaulWhenFalse=False) should evaluate to False
  *  Property('foo', defaultWhenFalse=True) should evaluate to None
  *  Property('foo', 'bar', defaultWhenFalse=True) should evaluate to "bar"
  *  Property('nosuch') should raise an exception
  *  Property('nosuch', 'bar') should evaluate to "bar"
  *  Property('nosuch', 'bar', defaultWhenFalse=False) should evaluate to
 "bar"
  *  Property('nosuch', 'bar', defaultWhenFalse=True) should evaluate to
 "bar"

 with documentation updated to correspond.

--
Ticket URL: <http://trac.buildbot.net/ticket/2524#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list