diff --git a/python-httpretty.spec b/python-httpretty.spec index 8ae1c28613d7b5f50126b14aaed6dcb5ff6422b4..4e35164d3b742c7ae4ee6347ee139a26ac023ea3 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -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 - 1.1.4-7 +- riscv64: increase tests timeout + * Wed Aug 2 2023 liyanan - 1.1.4-6 - skip failing testsuite tests after requests update