BSD Ports

devel/py-pytest-httpbin 2.0.0_2 MidnightBSD

Easily test your HTTP library against a local copy of httpbin.org

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

Pytest-httpbin creates a pytest fixture that is dependency-injected into your tests. It automatically starts up a HTTP server in a separate thread running httpbin and provides your test with the URL in the fixture.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pytest-httpbin2.0.0_2
FreeBSDdevel/py-pytest-httpbin2.1.0
DragonFlydevel/py-pytest-httpbin2.0.0_1
HardenedBSDdevel/py-pytest-httpbin2.1.0
GhostBSDdevel/py-pytest-httpbin2.1.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-httpbin

From mports:

cd /usr/mports/devel/py-pytest-httpbin && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-httpbin>0:devel/py-pytest-httpbin

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest-httpbin-2.0.0.tar.gz160813e739cad9b8f8df58952df7329d9295fe17449d3a647f49c4ce634fd81d71b8e
Master sites 1
  • PYPI