From 19725c73b54f86440d8bbf8a5b8ea329ad7540fd Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Wed, 20 May 2020 19:48:04 +0000 Subject: [PATCH] Fix template variable in render_tempest_config --- zaza/openstack/charm_tests/tempest/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/tempest/setup.py b/zaza/openstack/charm_tests/tempest/setup.py index 4f25686..5dd833e 100644 --- a/zaza/openstack/charm_tests/tempest/setup.py +++ b/zaza/openstack/charm_tests/tempest/setup.py @@ -249,7 +249,7 @@ def render_tempest_config(target_file, ctxt, template): """ # TODO: switch to jinja2 and generate config based on available services with open(target_file, 'w') as f: - f.write(tempest_template.file_contents.format(**ctxt)) + f.write(template.file_contents.format(**ctxt)) def setup_tempest(tempest_template, accounts_template):