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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user