Skip to content

The agent that grows with you

test(release): an SSH-signed pre-flag claim reads the opt-in platform keys as false

Teknium893bf8288ad3
diff --git a/tests/scripts/test_stable_admission.py b/tests/scripts/test_stable_admission.py
index 02a5f84290b..10f9a90fa4c 100644
--- a/tests/scripts/test_stable_admission.py
+++ b/tests/scripts/test_stable_admission.py
@@ -75,4 +75,6 @@ def test_a_signed_claim_tag_is_read_through_the_jobs_own_git_read(tmp_path, monk
assert "-----BEGIN SSH SIGNATURE-----" in raw
with pytest.raises(json.JSONDecodeError): # the shape that failed admission
json.loads(raw)
- assert _claim_metadata(raw, version="0.21.5", attempt=19, commit="3" * 40) == record
+ # The record predates the opt-in platform keys, which read as false.
+ assert _claim_metadata(raw, version="0.21.5", attempt=19, commit="3" * 40) == {
+ **record, "includeMacosIntel": False, "includeTermux": False}