fix(tests): correct validation key from "test" to "tests" in robot helper
CI / load-versions (pull_request) Successful in 17s
CI / push-validation (pull_request) Successful in 24s
CI / lint (pull_request) Successful in 43s
CI / build (pull_request) Successful in 50s
CI / quality (pull_request) Successful in 53s
CI / typecheck (pull_request) Successful in 1m18s
CI / security (pull_request) Successful in 1m19s
CI / helm (pull_request) Successful in 46s
CI / unit_tests (pull_request) Successful in 4m39s
CI / docker (pull_request) Successful in 1m23s
CI / integration_tests (pull_request) Failing after 8m32s
CI / coverage (pull_request) Successful in 10m13s
CI / status-check (pull_request) Failing after 4s

The verify_validation_sub_fields() helper checked for key "test" but
_apply_output_dict() uses "tests" (plural), causing the Robot Framework
integration test "Validation Contains Test Lint Type Check" to always
exit with rc=1.

ISSUES CLOSED: #9449
This commit is contained in:
2026-06-17 06:06:19 -04:00
committed by Forgejo
parent bbe8d830d5
commit 334a0c745d
+1 -1
View File
@@ -148,7 +148,7 @@ def verify_validation_sub_fields():
"""Verify data.validation has test, lint, type_check."""
env = _envelope()
v = env.get("data", {}).get("validation", {})
req = {"test", "lint", "type_check"}
req = {"tests", "lint", "type_check"}
if req <= set(v.keys()):
_ok(f"validation keys={sorted(v.keys())}")
_err(f"Missing: {req - set(v.keys())}")