Prepare typed structural evidence without credential success circularity
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a126e1-76f8-7643-8cf3-e93336539ade
This commit is contained in:
parent
247c829569
commit
f52c94cd4e
7 changed files with 1094 additions and 27 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import shutil
|
||||
from pathlib import Path
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
|
@ -42,7 +41,7 @@ def test_renders_reference_case_as_derived_plan(tmp_path, types_root):
|
|||
doc, collisions, rendered = cp.plan_from_case(_case(tmp_path), types_root=types_root, structure=cp.Structure())
|
||||
assert collisions == []
|
||||
front = yaml.safe_load(doc.split("---")[1])
|
||||
assert front["derived_from_type"] == "oidc-browser-relying-party@1.0"
|
||||
assert front["derived_from_type"] == yaml.safe_load(CASE.read_text())["spec"]["type"]
|
||||
assert front["render_digest"] == rendered["digest"] and front["status"] == "draft"
|
||||
names = {i["template"] for i in rendered["materialization"]}
|
||||
assert {"platform/workloads/keycape/forgejo", "workload-kv-read-keycape-forgejo-eso",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue