test(ci): skip the Stripe cancel test when the stripe package is absent

This commit is contained in:
juancarlos.cavero 2026-08-24 20:47:23 +02:00
parent 11d4bc76d2
commit 7531ed88ff

View file

@ -170,7 +170,7 @@ class TestStripeCancel:
cancellation made in the portal whose webhook never landed. If that cancellation made in the portal whose webhook never landed. If that
raised, the one account impossible to delete would be the one Stripe raised, the one account impossible to delete would be the one Stripe
already stopped charging.""" already stopped charging."""
import stripe stripe = pytest.importorskip("stripe") # not in the minimal CI deps
class _Row: class _Row:
stripe_subscription_id = "sub_gone" stripe_subscription_id = "sub_gone"