Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-httpretty for openSUSE:Factory checked in at 2023-03-31 21:14:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old) and /work/SRC/openSUSE:Factory/.python-httpretty.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-httpretty" Fri Mar 31 21:14:09 2023 rev:23 rq:1075359 version:1.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes 2022-10-28 19:29:55.126748209 +0200 +++ /work/SRC/openSUSE:Factory/.python-httpretty.new.31432/python-httpretty.changes 2023-03-31 21:14:13.126092796 +0200 @@ -1,0 +2,6 @@ +Thu Mar 30 04:21:14 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> + +- Add patch relax-test-callback-response.patch: + * Relax timeout for test_callback_response (bsc#1209571) + +------------------------------------------------------------------- New: ---- relax-test-callback-response.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httpretty.spec ++++++ --- /var/tmp/diff_new_pack.PiCHl1/_old 2023-03-31 21:14:13.758095050 +0200 +++ /var/tmp/diff_new_pack.PiCHl1/_new 2023-03-31 21:14:13.766095079 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httpretty # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-httpretty Version: 1.1.4 Release: 0 @@ -34,6 +32,8 @@ Patch2: double-slash-paths.patch #PATCH-FIX-UPSTREAM 460-fix-tests-two-miliseconds Patch3: 460-miliseconds_tests.patch +# PATCH-FIX-OPENSUSE Relax the time for one test case from 2ms to 3ms. +Patch4: relax-test-callback-response.patch BuildRequires: %{python_module boto3} BuildRequires: %{python_module eventlet} BuildRequires: %{python_module fakeredis} ++++++ relax-test-callback-response.patch ++++++ Index: httpretty-1.1.4/tests/functional/test_requests.py =================================================================== --- httpretty-1.1.4.orig/tests/functional/test_requests.py +++ httpretty-1.1.4/tests/functional/test_requests.py @@ -456,7 +456,7 @@ def test_multipart(): @httprettified -@within(two=miliseconds) +@within(three=miliseconds) def test_callback_response(now): ("HTTPretty should call a callback function and set its return value as the body of the response" " requests")