def test_remove_voucher_from_cart(cart_with_voucher): cart = cart_with_voucher remove_voucher_from_cart(cart) assert not cart.voucher_code assert not cart.discount_name assert cart.discount_amount == ZERO_MONEY