- for tc_conf in S.getValue('PERFORMANCE_TESTS'):
- if tc_conf['Name'] == result[ResultsConstants.ID]:
- test_config = tc_conf
- break
+ if test_type == 'performance':
+ for tc_conf in S.getValue('PERFORMANCE_TESTS'):
+ if tc_conf['Name'] == result[ResultsConstants.ID]:
+ test_config = tc_conf
+ break
+ elif test_type == 'integration':
+ for tc_conf in S.getValue('INTEGRATION_TESTS'):
+ if tc_conf['Name'] == result[ResultsConstants.ID]:
+ test_config = tc_conf
+ break
+ else:
+ logging.error("Unsupported test type '%s'. Test details are not known.", test_type)