Opened 63 minutes ago
#37196 new Cleanup/optimization
Document SimpleTestCase.async_client_class
| Reported by: | Adam Johnson | Owned by: | |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
We currently document the sync version, client_class: https://docs.djangoproject.com/en/6.0/topics/testing/tools/#django.test.SimpleTestCase.client_class . But since async_client_class is not documented, there’s no clear way to swap your async test client class, unless you read the source. Let’s fix that by documenting async_client_class equally.
Note:
See TracTickets
for help on using tickets.