BSD Ports

devel/py-pytest-localserver 0.10.0 FreeBSD

Py.test Plugin to test server connections locally

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
25.3 KiB, 84.5 KiB installed

Description

pytest-localserver is a plugin for the pytest testing framework which enables you to test server connections locally.

Sometimes monkeypatching urllib2.urlopen() just does not cut it, for instance if you work with urllib2.Request, define your own openers/handlers or work with httplib. In these cases it may come in handy to have an HTTP server running locally which behaves just like the real thing. Well, look no further!

In the other systems

SystemPortVersion
FreeBSDdevel/py-pytest-localserver0.10.0
DragonFlydevel/py-pytest-localserver0.8.1
HardenedBSDdevel/py-pytest-localserver0.10.0
GhostBSDdevel/py-pytest-localserver0.10.0

Install

Binary package:

pkg install py312-pytest-localserver

From the ports tree:

cd /usr/ports/devel/py-pytest-localserver/ && make install clean

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

RUN_DEPENDS=	py312-pytest-localserver>0:devel/py-pytest-localserver

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.10.00.10.00.7.00.8.10.10.0
FreeBSD:14:quarterly0.10.00.10.0n/a0.8.10.10.0
FreeBSD:15:latest0.10.00.10.0n/a0.8.10.8.1
FreeBSD:15:quarterly0.10.00.10.0n/an/an/a
FreeBSD:16:latest0.10.00.10.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 21

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_localserver-0.10.0.tar.gz307962607197f390912ab25525d129ac43c3c875049257368b3fe09b5cd03dcc526af
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.