Opened 3 weeks ago
Last modified 3 days ago
#37196 assigned Cleanup/optimization
Document SimpleTestCase.async_client_class
| Reported by: | Adam Johnson | Owned by: | VIZZARD-X |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| 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.
Change History (7)
comment:1 by , 3 weeks ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 3 weeks ago
I'd like to work on this. I'll add documentation for async_client_class alongside the existing client_class docs.
comment:3 by , 3 weeks ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , 2 weeks ago
| Owner: | removed |
|---|---|
| Status: | assigned → new |
comment:5 by , 2 weeks ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:6 by , 7 days ago
| Has patch: | set |
|---|
comment:7 by , 3 days ago
| Has patch: | unset |
|---|
I've closed the PR from Thirumalesh and explained to them that the ticket had an owner on trac.
Sounds good, let's! Thank you