# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+from __future__ import absolute_import
import logging
import os
self.setup_done = False
def setup(self):
- '''scenario setup'''
+ """scenario setup"""
self.options = self.scenario_cfg['options']
self.setup_done = True
test_case['params']['vlan_receiver'] = \
str(self.options['vlan_receiver'])
+ res = dict()
try:
- result = api.FrameworkApi.execute_framework(
+ res = api.FrameworkApi.execute_framework(
[test_case],
iterations,
heat_template,
heat_template_parameters,
deployment_configuration,
openstack_credentials)
- except Exception as e:
- LOG.info('Exception: {}'.format(e.message))
- LOG.info('Got output: {}'.format(result))
+ except Exception:
+ LOG.exception('Exception')
+ LOG.info('Got output: %s', res)
+ result.update(res)