feat: 全量路由回归测试脚本 scripts/regression_test.py(GET 全量 + 写操作空 body 探测抓 import 遗漏 + 关键业务 POST,500=缺陷 502/503=业务提示)+ fix: clear_all_worker_errors 缺导入(回归脚本首跑即抓到)

This commit is contained in:
2026-08-19 15:24:11 +08:00
parent 2adc54b512
commit e0c3373dd1
2 changed files with 153 additions and 1 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ from flask_login import login_required
from core import device_pool
from core.adb_helper import (screenshot, list_installed_apps, adb_connect,
adb_connect_light, _ADB_LOCK, _adb)
from core.device_worker import get_all_worker_status
from core.device_worker import (get_all_worker_status, clear_worker_error,
clear_all_worker_errors)
from web import context
from web.auth import perm_required, PERM_DEVICES
from web.common import _merged_device_list, _device_screen_state