mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
mark results as 'bot'
Summary: Use the new wikitcms / Wikitcms feature that results can be marked as 'bot' (indicating they're from an automated test system, not a human). Requires python-wikitcms >= 1.1.4 Test Plan: Update to wikitcms 1.1.4, report some results; they should appear with bot=true and show the bot head on the result page. Reviewers: kparal, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D349
This commit is contained in:
parent
4f25c90dbf
commit
1ea0ba1db8
@ -50,7 +50,8 @@ def get_passed_testcases(job_ids):
|
|||||||
env = arch if uniqueres['env'] == '$RUNARCH$' else uniqueres['env']
|
env = arch if uniqueres['env'] == '$RUNARCH$' else uniqueres['env']
|
||||||
result = ResTuple(
|
result = ResTuple(
|
||||||
testtype=uniqueres['type'], release=release, milestone=milestone, compose=compose,
|
testtype=uniqueres['type'], release=release, milestone=milestone, compose=compose,
|
||||||
testcase=testcase, section=uniqueres['section'], testname=testname, env=env, status='pass')
|
testcase=testcase, section=uniqueres['section'], testname=testname, env=env, status='pass',
|
||||||
|
bot=True)
|
||||||
passed_testcases.add(result)
|
passed_testcases.add(result)
|
||||||
|
|
||||||
return sorted(list(passed_testcases), key=attrgetter('testcase'))
|
return sorted(list(passed_testcases), key=attrgetter('testcase'))
|
||||||
|
Loading…
Reference in New Issue
Block a user