Skip to main content

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

Release files for nose-no-network 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nose-no-network 0.0.1
File Size Uploaded
nose-no-network-0.0.1.tar.gz 2.7 kB Details

Release files / nose-no-network-0.0.1.tar.gz

Download URL nose-no-network-0.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8cf1fc58c7a9ec7819d2a00a24d413f1ff0cbdc8cc44c7ccb7260e0c8f612654
BLAKE2b-256 checksum
How to use checksums
de871e90d0e0d60737c47bd17eb46e4049173230355a9cc2ca99987b9154d7cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page