Opened 7 weeks ago

Closed 9 days ago

Last modified 9 days ago

#37196 closed Cleanup/optimization (fixed)

Document SimpleTestCase.async_client_class

Reported by: Adam Johnson Owned by: VIZZARD-X
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes 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 (16)

comment:1 by Natalia Bidart, 7 weeks ago

Triage Stage: UnreviewedAccepted

Sounds good, let's! Thank you

comment:2 by maheen8q, 7 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 maheen8q, 6 weeks ago

Owner: set to maheen8q
Status: newassigned

comment:4 by maheen8q, 6 weeks ago

Owner: maheen8q removed
Status: assignednew

comment:5 by VIZZARD-X, 6 weeks ago

Owner: set to VIZZARD-X
Status: newassigned

comment:6 by Thirumalesh, 5 weeks ago

Has patch: set

comment:7 by blighj, 4 weeks ago

Has patch: unset

I've closed the PR from Thirumalesh and explained to them that the ticket had an owner on trac.

comment:8 by VIZZARD-X, 3 weeks ago

Has patch: set

comment:9 by blighj, 3 weeks ago

Patch needs improvement: set

comment:10 by VIZZARD-X, 3 weeks ago

Patch needs improvement: unset

comment:11 by blighj, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:12 by Sarah Boyce, 10 days ago

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted

comment:13 by VIZZARD-X, 10 days ago

Patch needs improvement: unset

comment:14 by Sarah Boyce, 9 days ago

Triage Stage: AcceptedReady for checkin

comment:15 by Sarah Boyce <42296566+sarahboyce@…>, 9 days ago

Resolution: fixed
Status: assignedclosed

In ae25a40:

Fixed #37196 -- Documented SimpleTestCase.async_client_class and async_client in testing tools.

comment:16 by Sarah Boyce <42296566+sarahboyce@…>, 9 days ago

In 42a5108:

[6.1.x] Fixed #37196 -- Documented SimpleTestCase.async_client_class and async_client in testing tools.

Backport of ae25a40be07e8a749edf526df37c93e59d4a22c9 from main.

Note: See TracTickets for help on using tickets.
Back to Top