- skip failing testsuite tests after requests update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=56
This commit is contained in:
parent
e1ece73915
commit
28d84d4020
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 07:35:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- skip failing testsuite tests after requests update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 04:21:14 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -45,6 +45,7 @@ BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module sure}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: %{python_module urllib3 with %python-urllib3 < 2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@ -71,7 +72,7 @@ export EVENTLET_NO_GREENDNS=yes
|
||||
# needs internet connection to httpbin.org
|
||||
donttest="test_http_passthrough or test_https_passthrough"
|
||||
# flaky (too slow) on obs
|
||||
donttest="$donttest or test_httpretty_should_allow_forcing_headers_urllib2"
|
||||
donttest="$donttest or test_httpretty_should_allow_forcing_headers_urllib2 or test_httpretty_should_allow_registering_regexes_with_streaming_responses"
|
||||
%pytest -k "not (${donttest})"
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user