summaryrefslogtreecommitdiff
path: root/tests/backends/tests.py
AgeCommit message (Collapse)Author
2013-05-16Fixed #20388 -- Test failures under Oracle.Shai Berger
Add "FROM DUAL" to SQL selecting constants in tests for Oracle.
2013-03-31Fixed #19220 -- Prevented decimals to be displayed in scientific notationClaude Paroz
Thanks nebstrebor for the report and antofik for the patch.
2013-03-28Fixed #19954 -- Fixed MySQL _last_executed decodingClaude Paroz
Queries can contain binary data undecodable with utf-8. In this case, using the 'replace' errors mode when decoding seems like an acceptable representation of the query. Thanks Marcel Ryser for the report.
2013-03-23Fixed #9055 -- Standardized behaviour of parameter escaping in db cursorsClaude Paroz
Previously, depending on the database backend or the cursor type, you'd need to double the percent signs in the query before passing it to cursor.execute. Now cursor.execute consistently need percent doubling whenever params argument is not None (placeholder substitution will happen). Thanks Thomas Güttler for the report and Walter Doekes for his work on the patch.
2013-03-11Ran a test that closes the database connection outside of a transaction.Aymeric Augustin
2013-03-11Improved the API of set_autocommit.Aymeric Augustin
2013-03-11Added some assertions to enforce the atomicity of atomic.Aymeric Augustin
2013-03-11Enabled autocommit for PostgreSQL.Aymeric Augustin
For users who didn't activate autocommit in their database options, this is backwards-incompatible in "non-managed" aka "auto" transaction state. This state now uses database-level autocommit instead of ORM-level autocommit. Also removed the uses_autocommit feature which lost its purpose.
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.
2013-02-27Fixed a test that relied on database exceptions not being wrapped.Aymeric Augustin
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner