Skip to main content

testisolation (Python)

Uncompromising test isolation: your tests structurally cannot touch your real files, secrets, or git identity -- First-class support for Go, Python with pytest, and TypeScript with Node

This is the pytest plugin.

pip install testisolation

Installing it is adoption: the plugin loads through its pytest11 entry point and refuses to run a suite that has not declared its safety stance.

[tool.pytest.ini_options]
testisolation_sockets = "deny"
testisolation_socket_allowlist = []
testisolation_unix_socket_allowlist = []
testisolation_loopback = "deny"
testisolation_sandbox_required = "false"

See the repository README for the full key reference and what each guard does.

License

MIT

Release files for testisolation 0.4.0

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

Source distribution (sdist)

Source distribution for testisolation 0.4.0
File Size Uploaded
testisolation-0.4.0.tar.gz 51.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for testisolation 0.4.0
File Interpreter ABI Platform
testisolation-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.7 kB

Release files / testisolation-0.4.0.tar.gz

Download URL testisolation-0.4.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1be445cded1e3f2a4545adb34df4e8ad87000a8a951e8ce390308f05ff8e8b9c
BLAKE2b-256 checksum
How to use checksums
94129deef520e52dd324e656c70f68d4089a7eeb528e8c675ec5ff13b2b6da70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / testisolation-0.4.0-py3-none-any.whl

Download URL testisolation-0.4.0-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bf2df7ef365033ac8e713dec57674fa7a190d55cf004a870b3978c8c766df81
BLAKE2b-256 checksum
How to use checksums
b23b3f619bbb653c5eae3d7a8e5d01395149769ab33bd5be9933e6cc0b2eb019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.0.0

2 release files

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