diff options
author | Darragh Bailey <dbailey@hp.com> | 2015-07-27 15:30:39 +0100 |
---|---|---|
committer | Darragh Bailey <dbailey@hp.com> | 2015-08-11 18:31:48 +0100 |
commit | e5738d085234f7624546568c7aa302eb18e08e46 (patch) | |
tree | 09dbd44f0f87b00bfa4d62b921be7371d6d70db0 /tests/properties/fixtures/sidebar01.xml | |
parent | 347a231e07cb144aec317b5830d61d73fb1f9c21 (diff) | |
download | python-jenkins-job-builder-e5738d085234f7624546568c7aa302eb18e08e46.tar.gz python-jenkins-job-builder-e5738d085234f7624546568c7aa302eb18e08e46.tar.xz python-jenkins-job-builder-e5738d085234f7624546568c7aa302eb18e08e46.zip |
Allow whitespace to be significant
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.
Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.
Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
Diffstat (limited to 'tests/properties/fixtures/sidebar01.xml')
-rw-r--r-- | tests/properties/fixtures/sidebar01.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/properties/fixtures/sidebar01.xml b/tests/properties/fixtures/sidebar01.xml index fa243e45..49b98900 100644 --- a/tests/properties/fixtures/sidebar01.xml +++ b/tests/properties/fixtures/sidebar01.xml @@ -1,14 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> <project> <properties> - <hudson.plugins.sidebar__link.ProjectLinks> - <links> - <hudson.plugins.sidebar__link.LinkAction> - <url>https://jenkins.debian.net/userContent/about.html</url> - <text>About jenkins.debian.net</text> - <icon>/userContent/images/debian-swirl-24x24.png</icon> - </hudson.plugins.sidebar__link.LinkAction> - </links> - </hudson.plugins.sidebar__link.ProjectLinks> + <hudson.plugins.sidebar__link.ProjectLinks> + <links> + <hudson.plugins.sidebar__link.LinkAction> + <url>https://jenkins.debian.net/userContent/about.html</url> + <text>About jenkins.debian.net</text> + <icon>/userContent/images/debian-swirl-24x24.png</icon> + </hudson.plugins.sidebar__link.LinkAction> + </links> + </hudson.plugins.sidebar__link.ProjectLinks> </properties> </project> |