./devel/py-test-httpserver, HTTP server for pytest

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.2, Package name: py312-test-httpserver-1.1.2, Maintainer: pkgsrc-users

This library is designed to help to test http clients without
contacting the real http server. In other words, it is a fake http
server which is accessible via localhost can be started with the
pre-defined expected http requests and their responses.


Master sites:

Filesize: 66.994 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-25 14:08:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.1.2

1.1.2

Deprecation Notes

- Python versions earlier than 3.9 have been deprecated in order to make the
  code more type safe. Python 3.8 has reached EOL on 2024-10-07.
   2025-01-22 09:24:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.1.1

1.1.1

New Features

- Add a new ``expect`` method to the ``HTTPServer`` object which allows
  developers to provide their own request matcher object.
   2024-08-20 15:20:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.1.0

1.1.0

Bug Fixes

- Fixed an issue related to the leak of httpserver state between the tests
  when httpserver is destructed before the other fixtures.
   2024-07-22 06:08:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.0.12

1.0.12

Bug Fixes

- Fix pytest-httpserver's own tests related to log querying. No functional
  changes in pytest-httpserver code itself.
   2024-07-20 08:09:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-httpserver: updated to 1.0.11

1.0.11

New Features

- Hooks API
- New methods added to query for matching requests in the log.
- Threading support to serve requests in parallel
   2024-02-28 11:31:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.0.10

1.0.10

New Features

- When there's no handler for the request, add more details to the response
  sent by the server about the request to help debugging.

Other Notes

- Use ruff for linting. It includes some source code changes which should not
  introduce functional changes, or API changes.
   2024-02-14 17:26:07 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-httpserver: updated to 1.0.9

1.0.9
New Features

- Add ``__repr__`` to ``RequestHandler`` object so when it is compared (eg. with
  the ``log`` attribute of the server) it will show the matcher parameters.
   2023-05-29 14:27:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpserver: updated to 1.0.8

1.0.8

Bug Fixes
- Version 1.0.7 has been released with incorrect dependencies. This is fixed now.