services/step2-5:打通前四个预处理步骤的真实后端独立服务
新增 src/new/services/{step2,step3,step4,step5}_service.py 四个独立后端服务:
This commit is contained in:
@ -293,7 +293,7 @@ def smoke_e2e():
|
||||
"mode=ndwi" in log_text,
|
||||
"→ 找 ['mode=ndwi']")
|
||||
|
||||
# ---- 切到 step2(真实 view,service 仍走占位) ----
|
||||
# ---- 切到 step2(真实 view + 真实 service) ----
|
||||
win.nav_list.setCurrentRow(1)
|
||||
view_step2 = win._views.get("step2")
|
||||
report("L3", "_views['step2'] 是真实 Step2View(已迁移)",
|
||||
@ -310,8 +310,8 @@ def smoke_e2e():
|
||||
log_text = win.log_text.toPlainText()
|
||||
report("L3", "step2 真实 view 派发后日志含 Router 收到 step2 请求",
|
||||
"收到 step2 请求" in log_text)
|
||||
report("L3", "step2 service 走占位:日志含 Service… not_implemented",
|
||||
"not_implemented" in log_text,
|
||||
report("L3", "step2 真实 service 已迁移:空 img_path 触发 Service✗ 错误分支",
|
||||
"[Service✗]" in log_text and "execute_step2" in log_text,
|
||||
f"log 片段:{log_text[-200:]!r}")
|
||||
|
||||
win.close()
|
||||
|
||||
Reference in New Issue
Block a user