From 9381d2aa9a11cb7be1b157ea5ecb1318f9a014f0 Mon Sep 17 00:00:00 2001 From: Billye4 Date: Thu, 22 Oct 2026 19:15:06 -0400 Subject: [PATCH] Repair total_price: restore multiplication (refs #14) Reverts the controlled failure from 52b297c so the Jenkins Test stage passes again and the required check on PR #15 turns green. 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 0a99fb1..446eda4 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