From 522e5a627f58029a372ca42ba53fc346037bd7a3 Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:49:38 +0100 Subject: [PATCH] fix(detection-core): keep readiness test on v2 boundary --- tests/test_detection_core_readiness_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_detection_core_readiness_adapter.py b/tests/test_detection_core_readiness_adapter.py index fbc0d7c..1516491 100644 --- a/tests/test_detection_core_readiness_adapter.py +++ b/tests/test_detection_core_readiness_adapter.py @@ -199,7 +199,7 @@ def test_development_observation_refuses_zero_byte_input() -> None: prior = _prior(identity) manifest, receipts = _instrument() 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( arm_id="reference-arm", family_id="reference-family",