15
0
forked from pool/python-stripe

- We must run stripe-mock during check.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stripe?expand=0&rev=11
This commit is contained in:
2025-02-12 03:27:50 +00:00
committed by Git OBS Bridge
parent ca3bd9f1db
commit f9fad7015b
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 12 03:27:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- We must run stripe-mock during check.
-------------------------------------------------------------------
Wed Feb 5 05:11:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -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/