summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-05-18Fixed #20411 -- Don't let invalid referers blow up CSRF same origin checks.Florian Apolloner
Thanks to edevil for the report and saz for the patch.
2013-05-18More conversion to a ContextManager schema_editorAndrew Godwin
2013-05-18Fixed #20422 -- Applied makemessage's --ignore patterns to full pathBaptiste Mispelon
Fix makemessage's --ignore patterns being applied to the full path instead of the file name. Thanks to nnseva for the report and the original patch.
2013-05-18Merge branch 'master' into schema-alterationAndrew Godwin
2013-05-16Fixed #20388 -- Test failures under Oracle.Shai Berger
Add "FROM DUAL" to SQL selecting constants in tests for Oracle.
2013-05-14Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley
This starts the deprecation period for PIL (support to end in 1.8).
2013-05-11Fixed a regression in the test runner loading of runtests.py.Florian Apolloner
Refs #17365, #17366, #18727.
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
2013-05-11Fixed #19939 -- generic relations + split_exclude regressionAnssi Kääriäinen
Added a test, the issue was already fixed (likely by the patch for #19385).
2013-05-10Fixed an obvious typo.Alex Gaynor
2013-05-10Do some basic testing of the recorderAndrew Godwin
2013-05-10Add root_node and leaf_node functions to MigrationGraphAndrew Godwin
2013-05-10First phase of loading migrations from diskAndrew Godwin
2013-05-10Fixed two admin_views tests under Oracle.Aymeric Augustin
Thanks Anssi for the review.
2013-05-10Merge branch 'master' into schema-alterationAndrew Godwin
2013-05-10Adding a dependency graph class and testsAndrew Godwin
2013-05-09Fixed a test that fails under Python 3.Aymeric Augustin
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant
added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09Further removal of static admin validation that can fail erroneouslyLuke Plant
2013-05-09Rest of the _meta.app_cache stuff. Schema tests work now.Andrew Godwin
2013-05-09Split out a BaseAppCache, make AppCache borg again, add _meta.app_cacheAndrew Godwin
2013-05-09Removed a test that didn't make sense; code could never be called the way ↵Alex Gaynor
the test was written.
2013-05-09Removed some failing tests missed in 1556b1c3b7a18cadf4d66d2ab6301d7fe8646ba5Luke Plant
2013-05-09Removed fragile admin validation of fields on ModelFormLuke Plant
Refs #19445
2013-05-08Marked a test as an expected failure on MySQL and Python 3.2.Aymeric Augustin
This test hits a bug in current ports of MySQLdb.
2013-05-08Marked tests of BinaryFields as expected failures on MySQL and Python 3.Aymeric Augustin
Current ports of MySQLdb are very buggy in this area.
2013-05-07Fixed #20354 -- `makemessages` no longer crashes with `UnicodeDecodeError`Tai Lee
Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the file name and location, and continue processing other files.
2013-05-05Fixed a regression introduced in 9f7a01ef2bed8c0395a970286e8f87fd7d344b3b.Florian Apolloner
2013-05-01Fixed test failures introduced in a5becad9094e5c5403b692b9a7b3a6ffaabf64a3.Florian Apolloner
2013-04-28Tested that get_or_create raises IntegrityError.Aymeric Augustin
It used to raise "DatabaseError: no such savepoint" with the old transaction management. Closes #15117.
2013-04-28Fixed #18986 -- Improved error message for missing filesAymeric Augustin
in CachedStaticFilesStorage. Thanks zyegfryed for his work on the patch.
2013-04-26Fixed #20321 -- Added missing key name in MergeDict KeyError messageClaude Paroz
Thanks mark.harviston et gmail.com for the report.
2013-04-23Clearer explanation when exception has no messageMarti Raudsepp
"No exception supplied" is misleading; actually there is an exception, but there's no message string.
2013-04-19Fix != operations on lazy objects.Alex Gaynor
2013-04-19Fixed #20276 -- Implemented __bool__ for MergeDictAnton Baklanov
MergeDict evaluates now to False if all contained dicts are empty. Thanks til for the report and the initial patch.
2013-04-19Fix schema editor interaction with new transactionsAndrew Godwin
2013-04-18Merge branch 'master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py
2013-04-16Refs #14567 -- Fixed failing test that wasn't being run.Carl Meyer
2013-04-14Fixed #18231 -- Made JavaScript i18n not pollute global JS namespace.Matthew Tretter
Also, use Django templating for the dynamic generated JS code and use more idiomatic coding techniques. Thanks Matthew Tretter for the report and the patch.
2013-04-13Fixed #17840 -- Generalized named placeholders in form error messagesClaude Paroz
Also fixed plural messages for DecimalField.
2013-04-13Fixed #4592: Made CheckboxSelectMultiple more like RadioSelectBaptiste Mispelon
I refactored RadioSelect and CheckboxSelectMultiple to make them inherit from a base class, allowing them to share the behavior of being able to iterate over their subwidgets. Thanks to Matt McClanahan for the initial patch and to Claude Paroz for the review.
2013-04-13Fixed #4117: Apply id attribute to the outer <ul> of RadioSelectBaptiste Mispelon
2013-04-13Used a Python 3 compatible StringIO in test_utilsClaude Paroz
2013-04-13Fixed #19874: Apply id attribute to the outer <ul> of CheckboxSelectMultipleBaptiste Mispelon
2013-04-13Updated a renamed test fileClaude Paroz
2013-04-12Fixed template_tests so discovery doesn't directly find tests that require ↵Preston Timmons
setuptools.
2013-04-12Modified view_tests for unittest2 discovery.Preston Timmons
2013-04-12Modified validation to work with unittest2 discovery.Preston Timmons
2013-04-12Modified utils_tests for unittest2 discovery.Preston Timmons
2013-04-12Modified template_tests for unittest2 discovery.Preston Timmons