FreeBSD.software
Home/devel/py311-pytest-localserver

py311-pytest-localserver

0.8.1devel

Py.test Plugin to test server connections locally

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!

$pkg install py311-pytest-localserver
github.com/pytest-dev/pytest-localserver
Origin
devel/py-pytest-localserver
Size
93.4KiB
License
MIT
Maintainer
bofh@FreeBSD.org
Dependencies
4 packages
Required by
0 packages

Dependencies (4)