./www/py-respx, Utility for mocking out the Python HTTPX library

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


Branch: CURRENT, Version: 0.19.0, Package name: py39-respx-0.19.0, Maintainer: pkgsrc-users

RESPX is a simple, yet powerful, utility for mocking out the HTTPX, and HTTP
Core, libraries.


Master sites:

Filesize: 23.695 KB

Version history: (Expand)


CVS history: (Expand)


   2021-11-15 18:43:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-respx: updated to 0.19.0

0.19.0

Fixed
- Support HTTPX 0.21.0.
- Use Session.notify when chaining nox sessions, thanks @flaeppe.
- Add overloads to MockRouter.__call__, thanks @flaeppe.
- Enhance AND pattern evaluation to fail fast.
- Fix CallList assertion error message.

Changed
- Prevent method and url as lookups in HTTP method helpers, thanks @flaeppe.
- Fail pattern match when JSON path not found.
   2021-10-26 19:14:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-respx: updated to 0.18.2

0.18.2

Fixed
- Include extensions when instantiating request in HTTPCoreMocker
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-22 13:13:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-respx: updated to 0.18.1

0.18.1
Fixed
- Respect ordered param values.
   2021-10-21 15:17:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-respx: updated to 0.18.0

0.18.0

Fixed
- Downgrade `HTTPX` requirement to 0.20.0.

Added
- Add support for matching param with *ANY* value.
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-07-08 10:41:15 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-respx: updated to 0.17.1

0.17.1
Added
- Implement support for async side effects in router.
- Support mocking responses using asgi/wsgi apps.
- Added pytest fixture and configuration marker.
Fixed
- Typo in import from examples.md.
- Fix pass-through test case.
   2021-05-08 11:00:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-respx: updated to 0.17.0

0.17.0
Changed
- Require `HTTPX` 0.18.0 and implement the new transport API.
- Removed ASGI and WSGI transports from httpcore patch list.
- Don't pre-read mocked async resposne streams.

Fixed
- Fixed syntax highlighting in docs, thanks @florimondmanca.
- Type check `route.return_value`, thanks @tzing.
- Fixed a typo in the docs, thanks @lewoudar.

Added
- Added support for adding/removing patch targets.
- Added test session for python 3.10.
- Added RESPX Mock Swallowtail to README.