PayrollManagementSystem/backend/tests/unit
liuwenxin 68e70fd6e2 fix(权限): 修复业务接入预览权限映射
业务接入预览属于只读预演,不应要求执行导入权限。\n将预览接口映射到 tplus:preview,并增加路由权限回归,避免只读角色被错误拒绝。\n\n影响范围:T+ 工作台业务接入预览接口与权限策略。\n\nCo-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-05 19:31:01 +08:00
..
__init__.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_approval_helpers.py feat(approval): 审批单内容快照与二次分配方案版本化 2026-10-20 18:30:51 +08:00
test_approval_schema.py feat(approval): 审批单内容快照与二次分配方案版本化 2026-10-20 18:30:51 +08:00
test_audit_serialization.py fix(system): code-review 15 项修复(预览基数/维度校验/脱敏穿透/并发版本号等) 2026-10-13 02:28:20 +08:00
test_audit_service.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00
test_auth_credentials.py fix(认证): 原子更新登录限流并统一凭据校验耗时 2026-11-03 17:18:36 +08:00
test_auth_schemas.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_authorization_policy.py fix(权限): 修复业务接入预览权限映射 2026-11-05 19:31:01 +08:00
test_authorization.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_business_readiness_list.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_calc_helpers.py refactor(m3): calc_receipt 五段拆分——218 行收敛为编排 + 私有函数 2026-10-19 12:25:36 +08:00
test_captcha.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_config.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00
test_dashboard_sync.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_exception_handlers.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_formal_payroll.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_formula.py feat(formula): 首日计提比例取整 10‰(#14 答复——图示口径覆盖公式) 2026-10-19 11:40:07 +08:00
test_historical_roles.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_isolated_runner.py fix(测试): 清理本次创建的隔离资源并保留失败码 2026-11-03 17:18:41 +08:00
test_jwt.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_log_schemas.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00
test_logging.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_login_limiter.py fix(认证): 原子更新登录限流并统一凭据校验耗时 2026-11-03 17:18:36 +08:00
test_logo_rollback.py fix(设置): 恢复上传提交失败前的公司标志文件 2026-11-03 17:18:39 +08:00
test_manual_payroll_preservation.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_models.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_monitor_service.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_monitoring.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_month_validation.py feat(dashboard): 工作台四区块实时聚合与风险预警参数 2026-10-19 18:44:15 +08:00
test_mysql_month_lock.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_param_registry.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_param_snapshot.py feat(system): 计提参数版本管理、变更留痕与计算预览接口 2026-10-12 20:24:17 +08:00
test_payroll_backup.py fix(备份): 修复快照位点与轮转期间的增量遗漏 2026-11-03 17:18:52 +08:00
test_payroll_isolation.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_payroll_metadata_pagination.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_payroll_workbench_api.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_product_schema.py fix(product): 删除引用保护/单价小数位校验,IntegrityError 全局兜底转 400 2026-10-14 18:48:32 +08:00
test_receipt_confirmation_migration.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_receipt_confirmation.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_report_helpers.py refactor(backend): 仓储层散参数收敛为查询 DTO 2026-10-22 19:43:20 +08:00
test_requirement_completion.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_response.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_role_schemas.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_secondary_allocation_schema.py feat(allocation): 二次分配方案录入/替换/终态门槛(分摊计算待澄清另批) 2026-10-15 18:31:27 +08:00
test_security.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_settlement_helpers.py fix(m3): code-review P1——锁定不变量、入结回填与双轨漂移 2026-10-19 11:59:49 +08:00
test_source_price_authorization.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_token_blacklist.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
test_tplus_automation_config.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_tplus_automation.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_business_sync.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_compatibility_script.py fix(tplus): 统一兼容检查连接策略并默认启用加密 2026-10-28 16:01:38 +08:00
test_tplus_config.py fix(连接): 默认校验 T+ 证书并限制开发端口 2026-11-03 17:18:43 +08:00
test_tplus_connection_file.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_error_classes.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_fifo.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_guidance_history.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_guidance_resolution.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_materials.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_progress.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_tplus_query_service.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00
test_tplus_relationship_audit.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_runtime_control.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_sql_compatibility.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00
test_tplus_staging.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00
test_tplus_sync.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_task_models.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00
test_tplus_task_service.py feat(后端): 添加授权体系、系统监控与试用期计提 2026-11-03 11:20:55 +08:00
test_tplus_workbench.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_worker_business_sync.py feat(T+): 完成数据贯通与自动接入闭环 2026-11-05 18:47:13 +08:00
test_tplus_worker_stop.py feat(核算)!: 添加 T+ 正式核算与采集托管 2026-11-02 09:42:53 +08:00
test_tplus_worker.py feat(tplus): 新增 T+ 只读同步服务与同步管理 2026-10-28 11:42:15 +08:00