perf: replace automatic backups with manual backup reminders

This commit is contained in:
阿白叔 committed 2026-11-03 16:44:30 +08:00
1 parent 7527800128
commit c85696080d
26 files changed
+385 -102

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ def fake_reader(_): return LibraryReadResult((CbbRecord('CBB1','Reusable Blocks'
@pytest.fixture(autouse=True)
def isolate_authoritative_native_refresh(monkeypatch):
from PySide6.QtWidgets import QMessageBox
monkeypatch.setattr(QMessageBox, 'question', lambda *a, **k: QMessageBox.Yes)
# Production refresh crosses the native Mentor boundary; these are UI tests.
monkeypatch.setattr('cbb_refresh_verify.ui.main_window.authoritative_status_map',
lambda names, *_: {name: 'READY' for name in names})