7 lines
169 B
Python
7 lines
169 B
Python
from src.tutorial.testing.shop.pricing import discount_price
|
|
|
|
|
|
def test_discount_price_reduces_price():
|
|
result = discount_price(100.0, 20.0)
|
|
assert result == 80
|