3 # This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
12 import utils.reporting_utils as rp_utils
14 yardstick_conf = rp_utils.get_config('yardstick.test_conf')
15 response = requests.get(yardstick_conf)
16 yaml_file = yaml.safe_load(response.text)
17 reporting = yaml_file.get('reporting')
21 for element in reporting:
22 name = element['name']
23 scenarios = element['scenario']
25 if name not in config:
27 config[name][s] = True