Re: [Django] #36008: Document that TransactionTestCase.databases calls flush at the end of each test run

29 views
Skip to first unread message

Django

unread,
Dec 13, 2024, 8:14:20 AM12/13/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: assigned
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Chiemezuo):

* owner: (none) => Chiemezuo
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 13, 2024, 8:18:25 AM12/13/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: assigned
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chiemezuo):

Hi!
I'd be very willing to work on this. Also, I'm a first-time contributor
here and have previously never used trac, so my apologies if I don't get
the contribution flow exactly as it should be. I'd be glad to take
corrections as well!
I read that I could claim a ticket just by assigning it to myself here:
[https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
/submitting-patches/#claiming-tickets]
--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:3>

Django

unread,
Dec 15, 2024, 3:52:19 AM12/15/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: assigned
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Chiemezuo):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:4>

Django

unread,
Dec 15, 2024, 8:08:47 AM12/15/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: assigned
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):

[https://github.com/django/django/pull/18937 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:5>

Django

unread,
Dec 16, 2024, 3:51:24 AM12/16/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: assigned
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:6>

Django

unread,
Dec 16, 2024, 7:13:02 AM12/16/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: closed
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"e9ed9ec043bca1ac93660029e0fa0376e1320375" e9ed9ec0]:
{{{#!CommitTicketReference repository=""
revision="e9ed9ec043bca1ac93660029e0fa0376e1320375"
Fixed #36008 -- Fixed order of database reset in TransactionTestCase docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:7>

Django

unread,
Dec 17, 2024, 8:39:10 AM12/17/24
to django-...@googlegroups.com
#36008: Document that TransactionTestCase.databases calls flush at the end of each
test run
-------------------------------------+-------------------------------------
Reporter: Sviatoslav Abakumov | Owner: Chiemezuo
Type: Bug | Status: closed
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution: fixed
Keywords: | 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 Sarah Boyce <42296566+sarahboyce@…>):

In [changeset:"274f855f4a275b56f89c2bf8d1101d4b2cddee4e" 274f855]:
{{{#!CommitTicketReference repository=""
revision="274f855f4a275b56f89c2bf8d1101d4b2cddee4e"
Added Chiemezuo to AUTHORS.

Refs #36008.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36008#comment:8>
Reply all
Reply to author
Forward
0 new messages