refactor(workflows): 统一替换 yingdao 目录引用为 workflows
1. 将所有文档、代码中对 `yingdao/` 目录的引用替换为 `workflows/`,统一影刀版代码的命名空间 2. 调整 workflows/share 模块内的路径引用与文档注释,确保一致性 3. 同步更新测试代码与配置文件中的旧目录引用
This commit is contained in:
@@ -102,10 +102,10 @@ def main():
|
||||
|
||||
# 影刀单文件版静态就绪校验(不发起真实请求)
|
||||
import importlib
|
||||
yingdao = importlib.import_module("yingdao.hr.attendance_abnormal")
|
||||
assert callable(yingdao.confirm_abnormal), "影刀版缺少 confirm_abnormal"
|
||||
assert callable(yingdao.adjust_abnormal), "影刀版缺少 adjust_abnormal"
|
||||
assert yingdao.ATTENDANCE_ADJUST_URL.endswith("KqCountAbnormal.mc"), "影刀版确认接口地址异常"
|
||||
workflows = importlib.import_module("workflows.hr.attendance_abnormal")
|
||||
assert callable(workflows.confirm_abnormal), "影刀版缺少 confirm_abnormal"
|
||||
assert callable(workflows.adjust_abnormal), "影刀版缺少 adjust_abnormal"
|
||||
assert workflows.ATTENDANCE_ADJUST_URL.endswith("KqCountAbnormal.mc"), "影刀版确认接口地址异常"
|
||||
logger.info("[通过] 影刀单文件版 confirm_abnormal 已就绪(未发请求)")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user