BSD Ports

wip/py-wsgi-intercep 1.9.2 NetBSD

Installs a WSGI application in place of a real URI for testing

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, www, python

Description

Testing a WSGI application sometimes involves starting a server at a local host and port, then pointing your test code to that address. Instead, this library lets you intercept calls to any specific host/port combination and redirect them into a WSGI application importable by your test program. Thus, you can avoid spawning multiple processes or threads to test your Web app

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-wsgi-intercep && make install clean

Dependencies

Run dependencies 1

No port depends on this one.