A plugin for nosetests that disables network access
Project description
Simplest possible nose plugin to disable network access during tests.
Installation
pip install nose-no-network
Usage
nosetests --with-no-network ...
How it works
nose-no-tests works by monkey patching socket.socket
to throw an exception.
License
nose-no-network is licensed under the MIT license.
Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nose-no-network-0.0.1.tar.gz
(2.7 kB
view hashes)