rehearsal: union task_attempts schema (main old DDL + gap-3 ledger cols), relax 2 hook no-table asserts to no-rows, gateway-env fake tolerates main routing reads, extend single-writer fixture list by name (test-only inserts)
This commit is contained in:
1 parent
f76a566aa8
commit
1eefe17474
4 files changed
+90
-3
No files matched your search
@@ -43,10 +43,25 @@ from pathlib import Path
|
||||
_PATTERN = re.compile(r"INSERT\s+INTO\s+audit_log", re.IGNORECASE)
|
||||
# Fixture files that deliberately insert audit_log rows into
|
||||
# throwaway test databases (see module docstring).
|
||||
# 演练注:合入时 main 侧 9 个审计测试文件同样只往临时库插
|
||||
# audit_log 行(TemporaryDirectory/control.db,逐文件核过),
|
||||
# 与已列 3 个属同类 fixture,按名补入——生产侧口径不变,
|
||||
# 仍只允许 cloud/auth.py。若用户要更严口径(测试也一律走
|
||||
# AuthStore.audit),那是另起一批改 9 个文件的活,本演练
|
||||
# 不悄悄替用户定(见演练报告 FLAG)。
|
||||
_FIXTURE_FILES = {
|
||||
"cloud/tests/test_tamper_ledger.py",
|
||||
"cloud/tests/test_chat_history.py",
|
||||
"cloud/tests/test_automation_run_due.py",
|
||||
"cloud/tests/test_95_code.py",
|
||||
"cloud/tests/test_audit_batch4.py",
|
||||
"cloud/tests/test_audit_batch5.py",
|
||||
"cloud/tests/test_audit_batch6.py",
|
||||
"cloud/tests/test_audit_fixes4.py",
|
||||
"cloud/tests/test_audit_fixes5.py",
|
||||
"cloud/tests/test_audit_loop_coord.py",
|
||||
"cloud/tests/test_audit_loop_coord_fix.py",
|
||||
"cloud/tests/test_routing_shadow.py",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user