test(contract): restore trailing newline at EOF
contract-openapi / openapi-contract (push) Failing after 32s
contract-openapi / ts-client-is-current (push) Failing after 28s
contract-openapi / openapi-contract (pull_request) Failing after 32s
contract-openapi / ts-client-is-current (pull_request) Failing after 33s

This commit is contained in:
2026-10-28 21:07:11 +03:00
parent c53e2ef9b1
commit 3387eb0f60
+1 -1
View File
@@ -318,4 +318,4 @@ def test_response_schema_lookup_fails_for_unknown_response(spec: dict[str, Any],
response = client.get("/api/v1/health")
with pytest.raises(ContractViolationError):
validate_response(spec, "/api/v1/health", "get", 418, response.json())
assert response_schema(spec, "/api/v1/health", "get", 418) is None
assert response_schema(spec, "/api/v1/health", "get", 418) is None