#8138: Switch django tests to use transactions
----------------------------------------+-----------------------------------
Reporter: mremolt | Owner: nobody
Status: new | Milestone: post-1.0
Component: Testing framework | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by ramiro):
Replying to [comment:21 ramiro]:
> ... what could be happening is that the rollback operations used in the
new approach were undoing even the `SET TIME ZONE` clause effects. Adding
a `commit()` call right below it solved the problem. I don't know if it's
a correct fix and if it's the right place where this should be fixed
(because I don't know if does adversely affect normal usage and the
flush/recreate approach) but I hope it is of some help.
#9964 seems to confirm this.
--
Ticket URL: <http://code.djangoproject.com/ticket/8138#comment:22>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---