Accept both backup readers and deliver the email-connect pair.
Record founder acceptance on CCR-2026-0036 and CCR-2026-0037, install the reader roles, and admit only the email-connect node delivery. Treat a missing OpenBao token period as non-periodic. Assistant: grok Assistant-Session: 01a11cdb-f9fe-7011-947c-936e72007e54
This commit is contained in:
parent
d217c806ca
commit
1900e24f80
8 changed files with 252 additions and 21 deletions
|
|
@ -47,12 +47,13 @@ def identity():
|
|||
|
||||
|
||||
@pytest.mark.parametrize("application", sorted(custody.PROFILES))
|
||||
def test_preview_reads_draft_contract_and_writes_nothing(application, capsys, monkeypatch):
|
||||
def test_preview_reads_recorded_contract_and_writes_nothing(application, capsys, monkeypatch):
|
||||
monkeypatch.setattr(custody, "provision", lambda *_: pytest.fail("preview provisioned"))
|
||||
assert custody.main(["--application", application]) == 0
|
||||
receipt = json.loads(capsys.readouterr().out)
|
||||
recorded = json.loads(custody.ccr_path(application).read_text(encoding="utf-8"))
|
||||
assert receipt["status"] == "preview"
|
||||
assert receipt["ccr_status"] == "draft"
|
||||
assert receipt["ccr_status"] == recorded["status"]
|
||||
assert receipt["writer_admitted"] is True
|
||||
assert receipt["openbao_write"] is False
|
||||
assert receipt["provider_keys"] == "not_created"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue