Fix OpenStack coverage tool
Can no longer rely on Zuul's layout.yml to just have str's in its set of test names, so we coerce to str. Somewhat hacky workaround but works for now. Change-Id: Ib6676f0f106345e6919e81b1ca5327c8f2e5e8dd
This commit is contained in:
parent
540ee93cc0
commit
58c2a43909
@ -100,7 +100,7 @@ def coverage_zuul(conf_zuul):
|
||||
project_name = project['name']
|
||||
for test_type in bandit_tests.keys():
|
||||
for test in project.get(test_type, []):
|
||||
if test.endswith('bandit'):
|
||||
if str(test).endswith('bandit'):
|
||||
voting = bandit_jobs.get(test, False)
|
||||
bandit_tests[test_type].add((project_name, voting))
|
||||
# output results
|
||||
|
Loading…
x
Reference in New Issue
Block a user