tests/base: Use plugins_info in SingleJobTestCase as well
This is a preparation for the next commit which adds a testcase that requires a plugins_info with newer version of hipchat plugin. Change-Id: Ia8a7b226a375f407d4e0fb067737118efd0ab845
This commit is contained in:
parent
fdd6180107
commit
f30179db4a
@ -246,7 +246,15 @@ class SingleJobTestCase(BaseScenariosTestCase):
|
||||
parser = YamlParser(config)
|
||||
parser.parse(self.in_filename)
|
||||
|
||||
registry = ModuleRegistry(config)
|
||||
plugins_info = None
|
||||
if self.plugins_info_filename:
|
||||
plugins_info = self._read_yaml_content(self.plugins_info_filename)
|
||||
self.addDetail("plugins-info-filename",
|
||||
text_content(self.plugins_info_filename))
|
||||
self.addDetail("plugins-info",
|
||||
text_content(str(plugins_info)))
|
||||
|
||||
registry = ModuleRegistry(config, plugins_info)
|
||||
registry.set_parser_data(parser.data)
|
||||
job_data_list, view_data_list = parser.expandYaml(registry)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user