fix(detection-core): keep readiness test on v2 boundary

This commit is contained in:
Marius Ciepluch
2026-11-02 10:49:38 +01:00
parent 362e9548c4
commit 522e5a627f
@@ -199,7 +199,7 @@ def test_development_observation_refuses_zero_byte_input() -> None:
prior = _prior(identity) prior = _prior(identity)
manifest, receipts = _instrument() manifest, receipts = _instrument()
zero = (replace(receipts[0], byte_count=0),) zero = (replace(receipts[0], byte_count=0),)
with pytest.raises(coverage.InstrumentFailure, match="zero-byte"): with pytest.raises(ValueError, match="zero-byte"):
readiness_contract.build_development_observation( readiness_contract.build_development_observation(
arm_id="reference-arm", arm_id="reference-arm",
family_id="reference-family", family_id="reference-family",