From 971b7f719e48fac8330eca5a521c7e7d0137c742 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 11 Jul 2018 20:32:08 +0200 Subject: Add tempest section in rally.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit bf39607ee1128f6a9b46c37c0a8ac1e582d39ea5) --- functest/opnfv_tests/openstack/tempest/tempest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'functest/opnfv_tests/openstack/tempest/tempest.py') diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 911c8caad..818b6cc0b 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -262,6 +262,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: -- cgit 1.2.3-korg