auto-sync: 2026-05-18 16:14:32
This commit is contained in:
@@ -206,7 +206,7 @@ class TestE3SubTask:
|
||||
"id": self.parent_id,
|
||||
"title": "父任务",
|
||||
"status": "pending",
|
||||
"stages_json": json.dumps(["setup", "run", "verify"]),
|
||||
"stages_json": json.dumps([{"id": "setup", "label": "Setup"}, {"id": "run", "label": "Run"}, {"id": "verify", "label": "Verify"}]),
|
||||
})
|
||||
# 创建 3 个子 Task
|
||||
self.child_ids = []
|
||||
@@ -265,7 +265,7 @@ class TestE4StageProgress:
|
||||
"id": self.parent_id,
|
||||
"title": "Stage父任务",
|
||||
"status": "pending",
|
||||
"stages_json": json.dumps(["data", "code", "test"]),
|
||||
"stages_json": json.dumps([{"id": "data", "label": "Data"}, {"id": "code", "label": "Code"}, {"id": "test", "label": "Test"}]),
|
||||
})
|
||||
# 每个stage一个子任务
|
||||
for i, stage in enumerate(["data", "code", "test"]):
|
||||
@@ -800,7 +800,7 @@ class TestE10FullChain:
|
||||
"id": parent_id,
|
||||
"title": "全链路父任务",
|
||||
"status": "pending",
|
||||
"stages_json": json.dumps(["setup", "execute", "verify"]),
|
||||
"stages_json": json.dumps([{"id": "setup", "label": "Setup"}, {"id": "execute", "label": "Execute"}, {"id": "verify", "label": "Verify"}]),
|
||||
})
|
||||
assert resp.status_code == 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user