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
Release history Release notifications | RSS feed
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
File details
Details for the file pytest_qasync-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pytest_qasync-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1cb0bdf7942d65b0c07fb292cf811475bc14dfcb203914dbf04f0275f59d11 |
|
MD5 | 171cef4d8e4d2613f874417c2805a8c7 |
|
BLAKE2b-256 | 58b7cc756de85c99cd49ec6f365d1e7416c8b48572d68c000cd84870b9daf4a2 |