Skip to main content

Pytest support for qasync.

Project description

pytest-qasync

Pytest plugin to test qasync.

Example

import pytest

async def coro():
    return 1

@pytest.mark.qasync
async def test_qasync():
    res = await coro()
    assert res == 1

Disclaimer

Code mostly stolen from pytest-asyncio project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

pytest_qasync-0.0.1-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page