Pytest Asyncio Patterns

Use for any question or task about testing async Python code, including how to test an async function, async tests that are skipped or fail with event-loop errors, and tests for FastAPI or aiohttp endpoints: pytest-asyncio modes and loop scopes, async fixtures, AsyncMock (assert_awaited), httpx.AsyncClient with ASGITransport and aiohttp_client.

testland Updated 13 repo stars
testland/qa: quality engineering for Claude Code, one command away

File contents

testland/qa commit 513bad3728

Frequently asked questions

npx get-skill add testland/pytest-asyncio-patterns