Sync from SUSE:SLFO:1.1 python-pytest-httpserver revision cc428fac0cfa0e6767e459779e15c343

This commit is contained in:
Adrian Schröter 2025-04-16 01:59:52 +02:00
parent 181c2eb017
commit e937d5fe26
4 changed files with 6 additions and 32 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,29 +1,3 @@
-------------------------------------------------------------------
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>
@ -41,7 +15,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) 2024 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
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-httpserver
Version: 1.1.0
Version: 1.0.8
Release: 0
Summary: A HTTP server for pytest
License: MIT