nose-socket-whitelist

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

nose-socket-whitelist Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • Ted Kaemming
  • Publisher web site:
  • http://github.com/tkaemming/

nose-socket-whitelist Tags


nose-socket-whitelist Description

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 executingsocketwhitelist.plugins.ErroringSocketWhitelistPlugin causes the offending test to fail with a SocketError InstallationThe plugin package is available from PyPI as nose-socket-whitelist.Using pip:pip install -U nose-socket-whitelistor with setuptools/distribute:easy_install -U nose-socket-whitelistProduct's homepage


nose-socket-whitelist Related Software