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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| testisolation-0.3.0.tar.gz | 51.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| testisolation-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.9 kB
Release files / testisolation-0.3.0.tar.gz
| Download URL | testisolation-0.3.0.tar.gz |
|---|---|
| Size | 51.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99c0a30aa850f80df73388ce0c4b17cf39065508ecccb791dc78b3ab6ef5dbba
|
|
BLAKE2b-256 checksum How to use checksums |
14851e6df7783694d35b1679fe4a7e95370c1a3c56331514682dce27bfecee48
|
| 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 24, 2026.
Transparency logRelease files / testisolation-0.3.0-py3-none-any.whl
| Download URL | testisolation-0.3.0-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b124b95b3e9b211e5bc02896574957d36189fd68f0e9936cc6932f93dc443036
|
|
BLAKE2b-256 checksum How to use checksums |
a89d5daab1f73e5d468af2e0e051b1d2cf2d4af27932c244fc5df6fa01c7ccde
|
| 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 24, 2026.
Transparency log