Repair total_price: restore multiplication (refs #14)
vpn-dns-gateway/pipeline/pr-main This commit looks good

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 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 19:15:06 -04:00
co-authored by Claude Opus 5.5
parent 52b297c2f3
commit 9381d2aa9a
+1 -1
View File
@@ -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