BSD Ports

devel/py-pytest-localserver 0.8.1 DragonFly

Py.test Plugin to test server connections locally

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
24.7 KiB, 93.4 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

The newest version among them is 0.10.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-pytest-localserver0.8.1none known-[email protected]-
FreeBSDdevel/py-pytest-localserver0.10.0 newestnone known-[email protected]-
HardenedBSDdevel/py-pytest-localserver0.10.0 newestno data-[email protected]-
GhostBSDdevel/py-pytest-localserver0.10.0 newestno data-[email protected]-

Install

Binary package:

pkg install py311-pytest-localserver

From DPorts:

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.