jenkins-job-builder/tests/yamlparser
Thanh Ha 02e85408f0
Fix default '0' being ignored
The problem with `if default:` is that it evaluates int 0 to be
equivalent to False. If a user is passing in a int 0 then they
should be expected to receive int 0 in the case of defaults.

Change-Id: Ida1f4c68b6f9d1af5b98d633b552f038c57654cc
Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-12-05 17:59:12 +08:00
..
exceptions Output additional info when exceptions occur 2016-12-08 15:59:12 +00:00
fixtures Fix default '0' being ignored 2018-12-05 17:59:12 +08:00
__init__.py Add tests for YamlParser and patch 2.6 minidom 2014-01-26 17:02:51 +11:00
test_yamlparser.py Output additional info when exceptions occur 2016-12-08 15:59:12 +00:00