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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page