Skip to main content

Internet Sabotage

Python package to simulate internet failures for testing purposes.

Instalation

$ pip install internet-sabotage

Usage

from internet_sabotage import no_connection

with no_connection():
    response = requests.get('http://httpbin.org/ip')

or

from internet_sabotage import no_connection

@no_connection
def test_something():
    pass

License

MIT

Metadata

Release files for internet-sabotage 0.1.2

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

Source distribution (sdist)

Source distribution for internet-sabotage 0.1.2
File Size Uploaded
internet-sabotage-0.1.2.tar.gz 2.3 kB Details

Release files / internet-sabotage-0.1.2.tar.gz

Download URL internet-sabotage-0.1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5a61c9e769cff76a5f1112eefecaee57c28d5152a3ed88e10c3b57e6f1d0113
BLAKE2b-256 checksum
How to use checksums
81366d383b6d42eae8458762a81e1466887642ad6c9cb2f15cb53b08b0d4be6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

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