Align native CLI execution with approved T03 targets and authority
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a09cbb-87c6-7900-a145-4ce53ba9f1a6
This commit is contained in:
parent
09422db079
commit
25a7d71cf5
8 changed files with 90 additions and 8 deletions
|
|
@ -220,7 +220,7 @@ def test_cli_gate_exchanges_for_claim_and_consume(tmp_path, monkeypatch, failure
|
|||
monkeypatch.setattr(approval_auth, "credential_urlopen", exchange)
|
||||
cfg.approval_url = cfg.pdp_url = stub.url
|
||||
from secrets_engine.approval_consume import _expected_request
|
||||
stub.bind_request(_expected_request(cfg, entry, "apply"))
|
||||
stub.bind_request(_expected_request(cfg, entry, "apply", policy_targets=(entry.policy_name,), auth_targets=(entry.role_name,)))
|
||||
if failure == "conflict":
|
||||
stub.consume_status = 409
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue