summaryrefslogtreecommitdiff
path: root/tests/regressiontests/initial_sql_regress
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2012-12-10Amended an SQL test fixture to not include an id valueClaude Paroz
Some backends might need special handling for auto-increment values. This was introduced in 5fa5621f574. Thanks Michael Manfre for spotting the issue.
2012-12-03Fixed #19416 -- Fixed multi-line commands in initial SQL filesClaude Paroz
Thanks Aymeric Augustin for detecting this regression.
2012-11-04Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to ↵Alex Gaynor
jgelens for the original patch.
2012-07-21Re-added Windows line ending stripped in previous commitClaude Paroz
Thanks Aymeric Augustin for noticing the issue.
2012-07-21Fixed #4680 -- Improved initial_sql parsingClaude Paroz
In particular, allow the '--' sequence to be present in string values without being interpreted as comment marker. Thanks Tim Chase for the report and shaleh for the initial patch.
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-01-18Refs #14661 -- Clarified the handling of initial data injected via custom SQL.Russell Keith-Magee
This is BACKWARDS INCOMPATIBLE CHANGE for anyone relying on SQL-injected initial data in a test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Converted initial_sql_regress tests from doctests (sort of...) to unittests. ↵Alex Gaynor
We have always been at war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms ↵Gary Wilson Jr
`FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Fixed #2729 -- Handle initial SQL with different line-ending styles (WindowsMalcolm Tredinnick
vs. Unix vs. Mac). Thanks, Simon Greenhill. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27Refs #2333 - Modified runtests script to use new testing framework. Migrated ↵Russell Keith-Magee
existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Added semicolon test to regressiontests/initial_sql_regress/sql/simple.sqlAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2119 -- fixed problems with splitting SQL statements into separateMalcolm Tredinnick
statements. Uses a patch from eaw@woudy.org and some contributions from jpellerin@gmail.com. Also fixes #2034 and #1935. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2161 -- handle trailing newlines in initial SQL data. IncludesMalcolm Tredinnick
regression test. Thanks to russellm. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3177 bcc190cf-cafb-0310-a4f2-bffc1f526a37