#37128: Include setUpTestData as a way to speed up tests
-------------------------------------+-------------------------------------
Reporter: Tim Schilling | Owner: Tim
Type: | Schilling
Cleanup/optimization | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed
Keywords: testing | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"8cfba505e113eb778dbd3b663d0e788b90194c7f" 8cfba50]:
{{{#!CommitTicketReference repository=""
revision="8cfba505e113eb778dbd3b663d0e788b90194c7f"
[6.1.x] Fixed #37128 -- Doc'd setUpTestData as test speed up.
Revises the AnimalTestCase to better show test data isolation
and avoid the opportunity to use setUpTestData.
Backport of d80ef32eb9e669986ed7838296f6373af56c68f0 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/37128#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019eccc4fff2-a5df73d1-1f40-42d8-a47b-204aaadd61fb-000000%40eu-central-1.amazonses.com.