7 lines
158 B
Python
7 lines
158 B
Python
from src.u6_tests.pricing import discount_price
|
|
|
|
|
|
def test_discount_price_reduces_price():
|
|
result = discount_price(100.0, 20.0)
|
|
assert result == 80.0
|