Sync from SUSE:SLFO:Main python-pytest-httpserver revision 7bbc6bee7f7a2374e666f484274392c6

This commit is contained in:
Adrian Schröter 2024-12-13 12:10:25 +01:00
parent 7bf511f8f5
commit 181c2eb017
4 changed files with 32 additions and 6 deletions

BIN
pytest_httpserver-1.0.8.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_httpserver-1.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sun Aug 18 17:18:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.0:
* Fixed an issue related to the leak of httpserver state
between the tests when httpserver is destructed before the
other fixtures. #352
* Fix pytest-httpserver's own tests related to log querying. No
functional changes in pytest-httpserver code itself. #345
* New methods added to query for matching requests in the log.
* Threading support to serve requests in parallel
-------------------------------------------------------------------
Fri Mar 1 10:19:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.0.10:
* When there's no handler for the request, add more details to
the response sent by the server about the request to help
debugging.
* Use ruff for linting. It includes some source code changes
which should not introduce functional changes, or API
changes.
* Add __repr__ to RequestHandler object so when it is compared
(eg. with the log attribute of the server) it will show the
matcher parameters.
-------------------------------------------------------------------
Wed May 31 19:41:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -15,7 +41,7 @@ Mon May 22 21:17:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
order to support the latest werkzeug.
* Type hinting for header_value_matcher has been fixed. From
now, specifying a callable as ``Callable[[str,
Optional[str], str], bool]`` will be accepted also.
Optional[str], str], bool]`` will be accepted also.
Providing a ``HeaderValueMatcher`` object will be also
accepted as before, as it provides the same callable signature
* Fix Werkzeug deprecation warning about

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-httpserver
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-httpserver
Version: 1.0.8
Version: 1.1.0
Release: 0
Summary: A HTTP server for pytest
License: MIT