From f9fad7015bc871f0456f29e836e7d8af106e4b5ced2a304f69ace4dbf423b5cb Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 12 Feb 2025 03:27:50 +0000 Subject: [PATCH] - We must run stripe-mock during check. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stripe?expand=0&rev=11 --- python-stripe.changes | 5 +++++ python-stripe.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-stripe.changes b/python-stripe.changes index 24c89cc..da2d97e 100644 --- a/python-stripe.changes +++ b/python-stripe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 12 03:27:26 UTC 2025 - Steve Kowalik + +- We must run stripe-mock during check. + ------------------------------------------------------------------- Wed Feb 5 05:11:47 UTC 2025 - Steve Kowalik diff --git a/python-stripe.spec b/python-stripe.spec index 5e89f19..f0c24f8 100644 --- a/python-stripe.spec +++ b/python-stripe.spec @@ -57,11 +57,14 @@ Python bindings for the Stripe API. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +stripe-mock & +pid=$! # Raises invalid request donttest="test_terminal_readers_process_setup_intent_post " # Requires network donttest+="or TestLiveHTTPClients or test_async_raw_request_timeout" %pytest -k "not ($donttest)" +kill $pid %files %{python_files} %doc CHANGELOG.md README.md examples/