feat: add confirmed client release with durable consent and server protection
This commit is contained in:
1 parent
282be7be7f
commit
173dee1980
54 files changed
+3909
-14
No files matched your search
@@ -60,6 +60,18 @@ def test_unconfirmed_open_is_amber_and_does_not_claim_icdb_damage(qtbot, tmp_pat
|
||||
assert cell.background().color().name() == '#fff8e1'
|
||||
|
||||
|
||||
def test_completed_old_library_result_does_not_release_new_library(qtbot, tmp_path, monkeypatch):
|
||||
from test_ui_filters import load_window
|
||||
from cbb_refresh_verify.verify_runner import VerifyResult
|
||||
from pathlib import Path
|
||||
window = load_window(qtbot, tmp_path, monkeypatch, verifier=lambda _: VerifyResult('FAIL', safe_to_continue=False))
|
||||
window._run(['Beta'], maintenance=True)
|
||||
qtbot.waitUntil(lambda: not window._icdb_active())
|
||||
summary = window.icdb_summary
|
||||
window.lmc_edit.setText('other.lmc')
|
||||
next(button for button in summary.buttons() if '释放' in button.text()).click()
|
||||
assert getattr(window, 'release_dialog', None) is None
|
||||
assert '切' in window.status_label.text()
|
||||
|
||||
|
||||
def test_later_management_invalidates_old_recovery_offer(qtbot, tmp_path, monkeypatch):
|
||||
|
||||
Reference in new issue
Block a user