12 lines
391 B
Python
12 lines
391 B
Python
from idea199_replicasurety_economic_surety.schemas import PoeticCert, ReplayBundle
|
|
|
|
|
|
def test_poeticcert_minimal():
|
|
c = PoeticCert(cert_id="c1", issuer="auditor", replica_intent_hash="abc123")
|
|
assert c.cert_id == "c1"
|
|
|
|
|
|
def test_replaybundle_evidence_hash():
|
|
b = ReplayBundle(bundle_id="b1", trace=[{"op": "x"}], metrics={"cpu": 0.1}, monitors=[])
|
|
assert b.bundle_id == "b1"
|