Skip to main content

Pytest-Gather-Fixtures: run async fixtures concurrently

Documentation

pytest-gather-fixtures is a library for pytest that allows you to set up and tear down fixtures in parallel. It's useful for when you have multiple independent fixtures that take a long time to set up.

import asyncio
from pytest_gather_fixtures import ConcurrentFixtureGroup

my_fixture_group = ConcurrentFixtureGroup('my_fixture_group')

@my_fixture_group.fixture
async def my_fixture_1():
    await asyncio.sleep(1)

@my_fixture_group.fixture
async def my_fixture_2():
    await asyncio.sleep(1)

def test_foo(my_fixture_1, my_fixture_2):
    # setup for this test will only take 1 second
    pass

Metadata

Release files for pytest-gather-fixtures 0.2.1

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-gather-fixtures 0.2.1
File Size Uploaded Provenance Actions
pytest_gather_fixtures-0.2.1.tar.gz 6.2 kB Without provenance Details for pytest_gather_fixtures-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-gather-fixtures 0.2.1
File Interpreter ABI Platform Actions
pytest_gather_fixtures-0.2.1-py3-none-any.whl Python 3 none any Details for pytest_gather_fixtures-0.2.1-py3-none-any.whl

Total release size: 13.2 kB

Release files / pytest_gather_fixtures-0.2.1.tar.gz

Download URL pytest_gather_fixtures-0.2.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a4af39004402bad27ee87bd895dccd229f2e5cf510b8da6dea2d5104ace543c3
BLAKE2b-256 checksum
How to use checksums
7cd33324b4e102340d8d92b3055d14c69572490fcc28d1ddcfd7527a79d22091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1025-azure

Release files / pytest_gather_fixtures-0.2.1-py3-none-any.whl

Download URL pytest_gather_fixtures-0.2.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fbc9aa491d5f1cdb96bc59f71d7158d5880bf420ed0772e028697b8e955261a
BLAKE2b-256 checksum
How to use checksums
c924b46f9efd1aeddbbe33285847fb40d99da48a336d2161b3768d16c7a74477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1025-azure

Security for pytest-gather-fixtures 0.2.1

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