./devel/py-test-localserver, Py.test plugin to test server connections locally

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q4, Version: 0.5.0, Package name: py38-test-localserver-0.5.0, Maintainer: pkgsrc-users

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.


Master sites:

SHA1: f24b0aed5fd4f7022ad7ee1788ad02f208945cde
RMD160: be078fa0d597a224056daabecce549fe9e71b390
Filesize: 19.931 KB

Version history: (Expand)