Skip to main content

pytest-twisted - test twisted code with pytest

Authors:

Ralf Schmitt <ralf@systemexit.de>

Version:

1.1

Date:

2012-10-22

pytest-twisted is a plugin for pytest, which allows to test code, which uses the twisted framework. test functions can return Deferred objects and pytest will wait for their completion with this plugin.

Installation

Install the plugin with:

pip install pytest-twisted

Using the plugin

The plugin must be enabled. This can be done in the following ways:

  1. Run py.test with the –twisted command line option

  2. Put the following into conftest.py:

    pytest_plugins = "pytest_twisted"
  3. Put the following into pytest.ini:

    [pytest]
    twisted = 1

That’s all.

Metadata

Release files for pytest-twisted 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 pytest-twisted 1.2
File Size Uploaded Provenance Actions
pytest-twisted-1.2.zip 6.8 kB Without provenance Details for pytest-twisted-1.2.zip

Release files / pytest-twisted-1.2.zip

Download URL pytest-twisted-1.2.zip
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
01f83803e3e54ea568261d4daf62a14de61ff12c2f9619e877ee504f105b56ab
BLAKE2b-256 checksum
How to use checksums
b9d8f168b93abd999b55b80084156f1340a0a79fdac0fa43d6cc7158d6e21b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-twisted 1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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