BSD Ports

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

SystemPortVersion
OpenBSDwww/py-respx0.22.0p0
FreeBSDwww/py-respx0.23.1
NetBSDwww/py-respx0.23.1
DragonFlywww/py-respx0.22.0
MidnightBSDwww/py-respx0.22.0_1
HardenedBSDwww/py-respx0.23.1
GhostBSDwww/py-respx0.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.