[test runner] Support --config-file option

Previously, if --config-file option was provided, it was not applyed
since CONF variable was not initialized.

Change-Id: I3f8d860d3f974e89190bdfd5b2c2be1c464d2ec7
Closes-Bug: #1504125
This commit is contained in:
Ekaterina Chernova 2015-10-08 17:54:04 +03:00
parent 2b04624115
commit 2ef888d036

View File

@ -283,7 +283,7 @@ def main():
try:
if args.config_file:
default_config_files = [CONF.config_file]
default_config_files = [args.config_file]
else:
default_config_files = cfg.find_config_files('murano')
if not default_config_files: