!36 [sync] PR-33: riscv64: increase tests timeout

From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2025-02-11 02:06:23 +00:00 committed by Gitee
commit f27bb1c4bd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-httpretty
Version: 1.1.4
Release: 6
Release: 7
Summary: HTTP Client mocking tool for Python
License: MIT
URL: https://pypi.org/project/httpretty/
@ -43,6 +43,9 @@ sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py
sed -Ei 's/(test_streaming_responses)/_\1/' tests/functional/test_requests.py
sed -Ei 's/(test_fakesock_socket_sendall_with_body_data_with_chunked_entry)/_\1/' tests/unit/test_core.py
sed -Ei 's/(test_httpretty_should_allow_registering_regexes_with_streaming_responses)/_\1/' tests/functional/test_requests.py
%if "%_arch" == "riscv64"
sed -Ei 's/two=miliseconds/ten=miliseconds/g' tests/functional/test_{urllib2,httplib2}.py
%endif
LANG=en_US.UTF-8 %{__python3} -m nose2 -v
%files -n python3-httpretty
@ -52,6 +55,9 @@ LANG=en_US.UTF-8 %{__python3} -m nose2 -v
%{python3_sitelib}/httpretty-%{version}-py%{python3_version}.egg-info
%changelog
* Mon Nov 4 2024 laokz <zhangkai@iscas.ac.cn> - 1.1.4-7
- riscv64: increase tests timeout
* Wed Aug 2 2023 liyanan <thistleslyn@163.com> - 1.1.4-6
- skip failing testsuite tests after requests update