def test_checkout_repr(): checkout = Checkout() assert repr(checkout) == "Checkout(quantity=0)" checkout.quantity = 1 assert repr(checkout) == "Checkout(quantity=1)"
def test_checkout_repr(): checkout = Checkout() assert repr(checkout) == "Checkout(quantity=0)" checkout.quantity = 1 assert repr(checkout) == "Checkout(quantity=1)"