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:
0
tests/xml_config/__init__.py
Normal file
0
tests/xml_config/__init__.py
Normal file
@@ -34,7 +34,7 @@ class TestXmlJobGeneratorExceptions(base.BaseTestCase):
|
|||||||
"invalid_project.yaml"))
|
"invalid_project.yaml"))
|
||||||
|
|
||||||
reg = registry.ModuleRegistry(config)
|
reg = registry.ModuleRegistry(config)
|
||||||
job_data = yp.expandYaml(reg)
|
job_data, _ = yp.expandYaml(reg)
|
||||||
|
|
||||||
# Generate the XML tree
|
# Generate the XML tree
|
||||||
xml_generator = xml_config.XmlJobGenerator(reg)
|
xml_generator = xml_config.XmlJobGenerator(reg)
|
||||||
|
Reference in New Issue
Block a user