From 7531ed88ff439a1b587088f1362cc759cf985840 Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Mon, 24 Aug 2026 20:47:23 +0200 Subject: [PATCH] test(ci): skip the Stripe cancel test when the stripe package is absent --- tests/test_account_erasure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_account_erasure.py b/tests/test_account_erasure.py index 0c3e1f9..99f1a96 100644 --- a/tests/test_account_erasure.py +++ b/tests/test_account_erasure.py @@ -170,7 +170,7 @@ class TestStripeCancel: cancellation made in the portal whose webhook never landed. If that raised, the one account impossible to delete would be the one Stripe already stopped charging.""" - import stripe + stripe = pytest.importorskip("stripe") # not in the minimal CI deps class _Row: stripe_subscription_id = "sub_gone"