Fix tempest run config-file flag

This commit is contained in:
Corey Bryant
2020-03-13 17:35:26 +00:00
parent af2cff3c6c
commit 82a1f1b75d

View File

@@ -15,10 +15,10 @@ class TempestTest():
def run(self):
charm_config = zaza.charm_lifecycle.utils.get_charm_config()
tempest_workspace = 'tempest_workspace'
tempest_options = ['run', '--config',
tempest_options = ['run', '--config-file',
os.path.join(tempest_workspace, 'etc/tempest.conf'),
'--workspace-path', './.tempest/workspace.yaml',
'--workspace', 'tempest_workspace']
'--workspace', tempest_workspace]
for model_alias in zaza.model.get_juju_model_aliases().keys():
tempest_test_key = model_alias
if model_alias == zaza.charm_lifecycle.utils.DEFAULT_MODEL_ALIAS: