from checkout.bootstrap import resolve

def test_coupon_apply_resolves_and_calculates():
    handler = resolve("coupon.apply")
    assert handler(100, 25) == 75
