www/py-respx 0.22.0p0 OpenBSD
mock out HTTPX and HTTP Core for tests
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- www, lang/python
Description
RESPX is a simple, yet powerful, utility for mocking out the HTTPX and HTTP Core libraries. It includes a decorator/context manager and respx_mock pytest fixture. It captures requests sent by HTTPX, filters and matches them against routes, and mocks their responses.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | www/py-respx | 0.22.0p0 |
| FreeBSD | www/py-respx | 0.23.1 |
| NetBSD | www/py-respx | 0.23.1 |
| DragonFly | www/py-respx | 0.22.0 |
| MidnightBSD | www/py-respx | 0.22.0_1 |
| HardenedBSD | www/py-respx | 0.23.1 |
| GhostBSD | www/py-respx | 0.23.1 |
Install
Binary package:
pkg_add py3-respx
From the ports tree:
cd /usr/ports/www/py-respx && make install
Dependencies
Build dependencies 5
Run dependencies 2
No port depends on this one.