Enable and fix xml_config tests

Insert missing __init__.py to ensure xml_config tests run and update
call to `expandYaml` to handle multiple item return.

Change-Id: I8e409126556196f09a348d98a39ae9ca16245860
This commit is contained in:
Darragh Bailey 2016-11-21 13:50:22 +00:00
parent 47d328d756
commit b36474bfae
2 changed files with 1 additions and 1 deletions

View File

View File

@ -34,7 +34,7 @@ class TestXmlJobGeneratorExceptions(base.BaseTestCase):
"invalid_project.yaml"))
reg = registry.ModuleRegistry(config)
job_data = yp.expandYaml(reg)
job_data, _ = yp.expandYaml(reg)
# Generate the XML tree
xml_generator = xml_config.XmlJobGenerator(reg)