Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=48
This commit is contained in:
parent
8eb625831f
commit
9adbcf98af
@ -65,7 +65,7 @@ sed -i -e '/rednose/ d' setup.cfg
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# https://github.com/gabrielfalcao/HTTPretty/issues/405
|
||||
# gh#gabrielfalcao/HTTPretty#405
|
||||
export EVENTLET_NO_GREENDNS=yes
|
||||
# test_http_passthrough and test_https_passthrough need internet connection
|
||||
sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py
|
||||
@ -73,8 +73,6 @@ sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py
|
||||
sed -Ei 's/(test_streaming_responses)/_\1/' tests/functional/test_requests.py
|
||||
# fails on x86_64
|
||||
sed -Ei 's/(test_fakesock_socket_sendall_with_body_data_with_chunked_entry)/_\1/' tests/unit/test_core.py
|
||||
|
||||
# %%python_exec -m nose2 -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user