Simplest possible nose plugin to disable network access during tests.
pip install nose-no-network
nosetests --with-no-network ...
nose-no-tests works by monkey patching socket.socket
to throw an exception.
nose-no-network is licensed under the MIT license.