jenkins-job-builder/tests
Darragh Bailey b6784fcf6d Add tests for YamlParser and patch 2.6 minidom
Test full build job XML produced by the YamlParser object which exposed
differences in how the XML was being written on python 2.6 versus newer
versions of python.

Differences were whitespace only, but made testing and validating the
xml outputted across multiple versions of python difficult.

Code now patches the python 2.6 writexml method on the Element class in
the xml.dom.minidom module, with a version of the method taken from
python 2.7.5.

Removed the now obsolete regex that was reformatting the output on
python 2.6.

Change-Id: I26c100b6adfbcb9b197bb06cd162855adaaf24c5
2014-01-26 17:02:51 +11:00
..
builders Fix multibyte character problem 2014-01-21 22:34:30 +09:00
general Fix multibyte character problem 2014-01-21 22:34:30 +09:00
notifications Fix multibyte character problem 2014-01-21 22:34:30 +09:00
parameters Fix multibyte character problem 2014-01-21 22:34:30 +09:00
properties Fix multibyte character problem 2014-01-21 22:34:30 +09:00
publishers Fix multibyte character problem 2014-01-21 22:34:30 +09:00
scm Add local-branch option 2014-01-22 17:37:25 -05:00
triggers Fix multibyte character problem 2014-01-21 22:34:30 +09:00
wrappers Added rbenv wrapper 2014-01-23 16:47:11 -07:00
yamlparser Add tests for YamlParser and patch 2.6 minidom 2014-01-26 17:02:51 +11:00
__init__.py Tests for publishers 2013-07-19 14:31:11 +02:00
base.py Fix multibyte character problem 2014-01-21 22:34:30 +09:00