fix: separate verification and ICDB maintenance with live session leases

This commit is contained in:
阿白叔 committed 2026-11-04 19:16:08 +08:00
1 parent 2587d33c5a
commit 477a5a46e3
15 files changed
+420 -194

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ def export_case(tmp_path, monkeypatch):
import cbb_refresh_verify.native_engineering_identity as identity
import win32com.client
monkeypatch.setattr(win32com.client, 'GetObject', lambda *_: SimpleNamespace(ExecQuery=lambda *_: []))
monkeypatch.setattr('cbb_refresh_verify.owner_probe.query_owners', lambda *_a, **_k: [])
monkeypatch.setattr(identity, '_process_snapshot', lambda: [])
monkeypatch.setattr(identity, '_retained_exports', [])
monkeypatch.setattr(locks, '_supervisor_alive', lambda _: False)