Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pytest-netscenario

A pytest plugin for netscenario: test a program on a described network.

import pytest


@pytest.mark.netscenario("scenarios/lte-like.yaml")
def test_media_delay(netscenario_result):
    assert netscenario_result["media"].delay.p99 < 0.150  # seconds

The plugin gives the fixture netscenario (a runner), the marker netscenario(...), a guard that skips (or, on a CI, fails) when the machine cannot create network namespaces, and a section in the report with the numbers of each run. It needs Linux and installs the package netscenario, in exactly the same version.

Documentation: docs/PYTEST.md. The status is pre-alpha.

Licensed under either of Apache License 2.0 or MIT, at your option.

Metadata

Release files for pytest-netscenario 0.1.0rc1

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

Source distribution (sdist)

Source distribution for pytest-netscenario 0.1.0rc1
File Size Uploaded Provenance Actions
pytest_netscenario-0.1.0rc1.tar.gz 13.2 kB With provenance Details for pytest_netscenario-0.1.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-netscenario 0.1.0rc1
File Interpreter ABI Platform Actions
pytest_netscenario-0.1.0rc1-py3-none-any.whl Python 3 none any Details for pytest_netscenario-0.1.0rc1-py3-none-any.whl

Total release size: 25.6 kB

Release files / pytest_netscenario-0.1.0rc1.tar.gz

Download URL pytest_netscenario-0.1.0rc1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fe90683196e11d7fdf594e35d376763d6b1d0c6e95241e1de9b7aa1bf76a037f
BLAKE2b-256 checksum
How to use checksums
ce728792609f17cd28da9be8dd4dbc1e5443db5908b0358959f9fed7e372b88b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 31, 2026.

Transparency log

Release files / pytest_netscenario-0.1.0rc1-py3-none-any.whl

Download URL pytest_netscenario-0.1.0rc1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
915427a07ca0b3f47ef957664ff8fa3e348fd319bcef67c29b1fbcd28179c4ff
BLAKE2b-256 checksum
How to use checksums
5712313fb0eb9e2bfaddb3e2d10bee9787c0977eb42b8951027f52d073069ede
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 31, 2026.

Transparency log

Security for pytest-netscenario 0.1.0rc1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytest_netscenario-0.1.0rc1.tar.gz

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 Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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