updade from Atlas repo

This commit is contained in:
Luciano Ramalho committed 2021-05-21 18:56:12 -03:00
1 parent c518bf851e
commit 8a330d822b
120 files changed
+2190 -1184

No files matched your search

@@ -56,8 +56,7 @@ def test_large_order_promo_no_discount(customer_fidelity_0, cart_plain) -> None:
def test_large_order_promo_with_discount(customer_fidelity_0) -> None:
cart = [LineItem(str(item_code), 1, 1.0)
for item_code in range(10)]
cart = [LineItem(str(item_code), 1, 1.0) for item_code in range(10)]
order = Order(customer_fidelity_0, cart, LargeOrderPromo())
assert order.total() == 10.0
assert order.due() == 9.3
@@ -89,4 +89,3 @@ def best_promo(order):
# end::STRATEGY_BEST3[]