Add tempest section in rally.conf
[functest.git] / functest / opnfv_tests / openstack / tempest / tempest.py
index 40954de..a7d608b 100644 (file)
@@ -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: