aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 20:32:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 20:33:21 +0200
commitbf39607ee1128f6a9b46c37c0a8ac1e582d39ea5 (patch)
tree6102e59fe297f76e3a519dc934bb01b41543eef8
parent6166caffe31888ef237874fdcaf088ac4ff8d003 (diff)
Add tempest section in rally.conf
It completes the previous patch [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59681/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/555/console Change-Id: I93ad9db2c7a8a0691fed8bf58f5e21d8f3dc9c57 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 40954de2c..a7d608bc3 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -254,6 +254,7 @@ class TempestCommon(singlevm.VmReady1):
"""Set image name as tempest img_name_regex"""
rconfig = configparser.RawConfigParser()
rconfig.read(rally_conf)
+ rconfig.add_section('tempest')
rconfig.set('tempest', 'img_name_regex', '^{}$'.format(
self.image.name))
with open(rally_conf, 'wb') as config_file: