INNER CODE UNIT · Python

test_schema_file_matches_model

onedr0p/cluster-template · template/scripts/test_validate.py:167

def test_schema_file_matches_model():
    committed = json.loads((REPO_ROOT / "cluster.schema.json").read_text())
    assert committed == schema(), "cluster.schema.json is stale: run `just template schema`"


def test_schema_omits_computed_fields():
    assert "cluster_issuer" not in schema()["properties"]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…