nose-socket-whitelist 1.0.0

nose plugin that provides control over what socket connections can be opened during test execution

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
The Apache License 2.0 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Ted Kaemming
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Programming \ Quality Assurance and Testing
nose-socket-whitelist is a nose plugin that patches socket.getaddrinfo for non-local sockets, allowing you to either log all occurrences or cause the offending test to fail.

socketwhitelist.plugins.LoggingSocketWhitelistPlugin
 logs the test(s) where sockets are opened, printing a summaray report to sys.stderr when all tests have finished executing

socketwhitelist.plugins.ErroringSocketWhitelistPlugin
 causes the offending test to fail with a SocketError

Installation

The plugin package is available from PyPI as nose-socket-whitelist.

Using pip:

pip install -U nose-socket-whitelist

or with setuptools/distribute:

easy_install -U nose-socket-whitelist

Last updated on September 8th, 2012

requirements

#socket control #nose plugin #nose #socket #whitelist #plugin

Add your review!

SUBMIT