summaryrefslogtreecommitdiff
path: root/tests/regressiontests/transactions_regress
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-23Some style fixes for stuff that was clearly brough tover from doctests.Alex Gaynor
2012-11-29Fixed #19354 -- Do not assume usermodel.pk == usermodel.idClaude Paroz
Thanks markteisman at hotmail.com for the report.
2012-11-15Fixed #18347 -- Removed autofield raw SQL inserts from testsAnssi Kääriäinen
2012-09-07Removed many uses of bare "except:", which were either going to a) silence ↵Alex Gaynor
real issues, or b) were impossible to hit.
2012-07-03Stylistic cleanup of Postgres autocommit testsAnssi Kääriäinen
Cleaned up tests introduced in f572ee0c65ec5eac9edb0cb3e35c96ec86d89ffb. Thanks to Claude Paroz for suggesting the changes.
2012-07-01Fixed #16047 -- Restore autocommit state correctly on psycopg2Anssi Kääriäinen
When the postgresql_psycopg2 backend was used with DB-level autocommit mode enabled, after entering transaction management and then leaving it, the isolation level was never set back to autocommit mode. Thanks brodie for report and working on this issue.
2012-06-09Fixed #17760 -- Implemented callable database features as cached propertiesClaude Paroz
This does remove the requirement to call features.confirm() method before checking the properties. Thanks cdestiger and Ramiro Morales for their work on the patch.
2012-01-12Fixed #6669 -- Ensured database connections are marked as dirty by ↵Aymeric Augustin
CursorDebugWrapper.execute/executemany. Refs #9964. Thanks james at 10gic net for the report and Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-05Added support for savepoints to the MySQL DB backend.Ramiro Morales
MySQL provides the savepoint functionality starting with version 5.0.3 when using the MyISAM storage engine. Thanks lamby for the report and patch. Fixes #15507. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Fixed #16818 -- Fixed ORM bug with many-to-many add() method where it wasn't ↵Adrian Holovaty
committing the change. Thanks, pressureman and kmtracey git-svn-id: http://code.djangoproject.com/svn/django/trunk@17189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert the remainder of the relative imports in the tests to be absolute ↵Alex Gaynor
imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #9964 -- Ensure that all database operations make transactions dirty, ↵Russell Keith-Magee
not just write operations. Many thanks to Shai Berger for his work and persistence on this issue. This is BACKWARDS INCOMPATIBLE for anyone relying on the current behavior that allows manually managed read-only transactions to be left dangling without a manual commit or rollback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15493 bcc190cf-cafb-0310-a4f2-bffc1f526a37