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>
5 lines
147 B
Python
5 lines
147 B
Python
def total_price(unit_price, quantity):
|
|
if quantity < 1:
|
|
raise ValueError("Quantity must be positive")
|
|
return unit_price * quantity
|