Conversation
Pull request overview
Refactors TestStickerSetWithRequest to reduce CI flakiness under pytest-xdist by ensuring each worker operates on its own sticker set.
Changes:
- Introduce an autouse async fixture that creates (or reuses) a per-worker sticker set and exposes worker-scoped fixtures.
- Consolidate and rename several sticker-set tests to operate against the per-worker sticker set.
- Remove old shared sticker set fixtures from
conftest.pyand add an internal changelog entry.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| tests/_files/test_sticker.py | Creates per-worker sticker sets and refactors request-based sticker-set tests to use them. |
| tests/_files/conftest.py | Removes shared sticker-set fixtures/imports that are no longer needed after per-worker refactor. |
| changes/unreleased/5161.BXtxdWhwpuvW4duoMvVFUB.toml | Adds an internal unreleased entry describing the refactor. |