[TIP] Ann: portpicker - find & manage network ports on test hosts

Gregory P. Smith greg at krypto.org
Mon Mar 30 16:40:06 PDT 2015


https://pypi.python.org/pypi/portpicker

Finding an available network port to use within a unit or integration test
is often an annoying prospect. The above library makes it easy.

Bonus: If you need it, it can also supply a portserver to manage network
port allocations to all test processes running on a given host. Useful if
you've got test host(s) that run a bunch of different tests at once on each
host. (follow the link to github for docs)

-gps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150330/7fcd67d5/attachment.htm>


More information about the testing-in-python mailing list