Files
vpn-dns-gateway/pricing.py
T
billandClaude Opus 5.5 9381d2aa9a
vpn-dns-gateway/pipeline/pr-main This commit looks good
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 <noreply@anthropic.com>
2026-10-22 19:15:06 -04:00

5 lines
147 B
Python

def total_price(unit_price, quantity):
if quantity < 1:
raise ValueError("Quantity must be positive")
return unit_price * quantity