@@ -114,7 +114,8 @@ def publish_candidate(plan, receipt, run):
|
||||
single = [item['task'] for item in plan['items']] == [plan['task']]
|
||||
if single:
|
||||
body = body.split('业务单记录用例')[0] + '请在本单逐项记录实测证据。在结构化报告加 cases 对象,business 和 regression 各列本轮通过的业务及同批回归用例编号,两组编号独立,合计等于 required。验收登记后,由负责人在本单切到待发布。'
|
||||
manual = single and cd.manual_demand(task(plan['task']))
|
||||
record = task(plan['task']) if single else {}
|
||||
manual = (record.get('typeId') or (record.get('type') or {}).get('id')) == '1b7f1bb1-72c2-4106-b305-85604cf6d7e2'
|
||||
if manual:
|
||||
body += '\n候选已就绪。负责人可在本单切到「测试中」启动同包测试。'
|
||||
key = 'ready ' + receipt['bundle']
|
||||
|
||||
Reference in New Issue
Block a user