Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page