From 52b297c2f33881f7b483808c0040758cee2a1d8f Mon Sep 17 00:00:00 2001 From: Billye4 Date: Thu, 22 Oct 2026 19:10:28 -0400 Subject: [PATCH] Controlled failure: add instead of multiply in total_price (refs #14) Deliberately breaks the pricing calculation so the Jenkins Test stage fails (10 + 3 = 13, expected 30) and the required Gitea check blocks merging PR #15. The next commit restores multiplication. Co-Authored-By: Claude Opus 5.5 --- pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricing.py b/pricing.py index 446eda4..0a99fb1 100644 --- a/pricing.py +++ b/pricing.py @@ -1,4 +1,4 @@ def total_price(unit_price, quantity): if quantity < 1: raise ValueError("Quantity must be positive") - return unit_price * quantity + return unit_price + quantity