fix: harden PCB and iCDB verification lifecycle for beta release
This commit is contained in:
1 parent
11a2b2e46e
commit
a11eb3c766
33 files changed
+1226
-267
No files matched your search
@@ -78,7 +78,7 @@ def test_license_selector_is_allowed_after_com_attach_wait():
|
||||
assert decision.error_code == ""
|
||||
|
||||
|
||||
def test_open_lock_confirmation_is_allowed_during_pcb_starting():
|
||||
def test_open_lock_confirmation_blocks_during_pcb_starting():
|
||||
rules = load_rules(ASSETS / "dialog_rules.v1.json")
|
||||
snapshot = prompt(
|
||||
"Continue to open the design with read/write access permission?",
|
||||
@@ -87,8 +87,8 @@ def test_open_lock_confirmation_is_allowed_during_pcb_starting():
|
||||
|
||||
decision = decide(snapshot, rules)
|
||||
|
||||
assert decision.rule_id == "open-lock-confirm"
|
||||
assert decision.error_code == ""
|
||||
assert not decision.action
|
||||
assert decision.error_code == "DATABASE_RECOVERY_REQUIRED"
|
||||
|
||||
|
||||
def test_forward_annotation_confirmation_is_accepted_during_document_attach():
|
||||
|
||||
Reference in new issue
Block a user