updated from Atlas

This commit is contained in:
Luciano Ramalho
2021-08-07 00:44:01 -03:00
parent cbd13885fc
commit 01e717b60a
96 changed files with 580 additions and 1021 deletions

View File

@@ -47,7 +47,7 @@ def test_large_order_promo_with_discount(customer_fidelity_0) -> None:
assert order.due() == 9.3
def test_general_discount(customer_fidelity_0, cart_plain) -> None:
def test_general_discount(customer_fidelity_1100, cart_plain) -> None:
general_promo: Promotion = functools.partial(general_discount, 5)
order = Order(customer_fidelity_1100, cart_plain, general_promo)
assert order.total() == 42.0