dc464d943f
Should always use a ConfigParser object when testing to allow unit tests to check that calls behave as expected. Read in the default configuration to align with expected usage, and fix some issues caused by usage of dicts resulting in the option name requested being taken as the default value. Since '.get()' is a valid method for a dictionary object, take care to ensure that we do not use a dummy dict object as this will not throw the expected errors if a config file is not provided and will also treat the option name as a default value resulting in the wrong data appearing in the outputted XML. Change-Id: I6abb85f0363a48f220914c52b74e5a5fb65b0faa
17 lines
497 B
XML
17 lines
497 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<properties>
|
|
<jenkins.plugins.hipchat.HipChatNotifier_-HipChatJobProperty>
|
|
<room/>
|
|
<startNotification>true</startNotification>
|
|
</jenkins.plugins.hipchat.HipChatNotifier_-HipChatJobProperty>
|
|
</properties>
|
|
<publishers>
|
|
<jenkins.plugins.hipchat.HipChatNotifier>
|
|
<jenkinsUrl>green</jenkinsUrl>
|
|
<authToken>blue</authToken>
|
|
<room/>
|
|
</jenkins.plugins.hipchat.HipChatNotifier>
|
|
</publishers>
|
|
</project>
|