# Python Testing Patterns: setup &amp; source

> Practical pytest fixtures, parametrization, mocking, async testing, and coverage guidance. Installable in Awesome Python Dev; review its source, license and setup.

[HTML page](https://m9rco.github.io/awesome-python-dev/tools/python-testing-patterns/) · [Agent guide](https://m9rco.github.io/awesome-python-dev/agents/index.md) · [Discovery index](https://m9rco.github.io/awesome-python-dev/llms.txt)

This website describes the repository catalog snapshot, which may contain unreleased entries. It is not a promise that every entry exists in the currently published package. Check `uvx awesome-python-dev list --json` for the catalog available in your installed runtime. GitHub stars and review dates are recorded snapshots, not live rankings.

Catalog reviewed: 2026-10-29. [Catalog source](https://github.com/m9rco/awesome-python-dev/blob/239895d3dd1353a48c5b39eee8eb028aadd8ac8f/src/awesome_python_dev/data/catalog.json).

Skills / Installable

## Python Testing Patterns

Practical pytest fixtures, parametrization, mocking, async testing, and coverage guidance.

[Upstream project ↗](https://github.com/wshobson/agents/tree/0874a27b17a22e2b7c2e2bcd725768e0803cad06/plugins/python-development/skills/python-testing-patterns) [View repository ↗](https://github.com/wshobson/agents) 

### Install into your coding agents

```sh
uvx awesome-python-dev init --agents codex,claude --tools python-testing-patterns
```

Run inside the project you want to equip. This command targets Codex and Claude Code; use `--agents` to choose other supported agents. [Read the prerequisites and setup guide](https://m9rco.github.io/awesome-python-dev/getting-started/) .

### Source &amp; review

- Repository: wshobson/agents
- License: MIT
- Category: python skills
- Reviewed: 2026-10-27
- GitHub stars at review: 41,868
- Installation: Installable
- Pinned source: `0874a27b17a22e2b7c2e2bcd725768e0803cad06`

Star counts are review snapshots, not live rankings. Upstream licenses apply to each resource.

### Included in these profiles

- [Python](https://m9rco.github.io/awesome-python-dev/profiles/python/) 
- [Django](https://m9rco.github.io/awesome-python-dev/profiles/django/) 
- [FastAPI](https://m9rco.github.io/awesome-python-dev/profiles/fastapi/) 

### Review the source evidence

- [Upstream evidence 1 ↗](https://api.github.com/repos/wshobson/agents) 
- [Upstream evidence 2 ↗](https://github.com/wshobson/agents/tree/0874a27b17a22e2b7c2e2bcd725768e0803cad06/plugins/python-development/skills/python-testing-patterns)
