#20142: Transaction methods are not re-enabled when fixture loading fails
-----------------------------------+------------------------------------
     Reporter:  mlarente           |                    Owner:  filias
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  1.5
     Severity:  Normal             |               Resolution:  fixed
     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 Filipa Andrade <filipa.andrade@…>):

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


Comment:

 In [changeset:"5883ae56b3e993052c46f7d9e756465b1387dd34"]:
 {{{
 #!CommitTicketReference repository=""
 revision="5883ae56b3e993052c46f7d9e756465b1387dd34"
 Fixed #20142 -- Added error handling for fixture setup

 TestCase._fixture_setup disables transactions so,
 in case of an error, cleanup is needed to re-enable
 transactions, otherwise following TransactionTestCase
 would fail.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20142#comment:3>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to