summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-06-13Fixed #22440 -- Updated ConditionalGetMiddleware to comply with RFC 2616.Mark Lavin
2014-06-14Fixed #22816 -- Corrected Oracle feature flag and fixed introspection testShai Berger
2014-06-13Fixed #22771 -- Fixed test.Client.logout when using custom auth backend.Xavier Fernandez
2014-06-13Fixed #22477 -- Removed contrib middleware from the global settings defaults.mlavin
Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-13Fixed #16087 -- Added ResolverMatch instance to test client response.Greg Chapple
Thanks mrmachine for the suggestion.
2014-06-12Fixed #22823 (and partly #22563) - FKs from unmigrated apps breaking state.Andrew Godwin
Thanks to bendavis78 for the test and diagnostic work.
2014-06-12Fixed a staticfiles test on Windows.Tim Graham
2014-06-12Fixed #22814 -- Allowed ISO-8601 [+-]hh timezone format in parse_datetimeRichard Eames
2014-06-12Silenced deprecation warnings for refs #22811 and fixed build.Tim Graham
2014-06-12Fixed #22811 -- Allowed setting both the old and new TEST database settings.Tim Graham
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-11Fixed #22487: Separated schema migration from data migration in testShai Berger
The data migration failed on Oracle, killing the entire test suite. Thanks timo for reporting the Oracle breakage, and andrewgodwin for suggesting the solution.
2014-06-11Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi.
2014-06-11Created a new tests folder (`model_options`).Moayad Mardini
And moved `tablespaces` option tests to it. The new folder can be used to test models/options, like the new option added in refs #22778.
2014-06-11Fixed #22068 -- Made runtests.py remove trailing slashes from test labels.Preston Timmons
When using tab-completion it's easy to accidentally run a test with a trailing slash, which causes INSTALLED_APPS to be set incorrectly. Normalize the test labels to avoid this common error. Thanks MattBlack for the suggestion.
2014-06-11Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵Anubhav Joshi
from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.
2014-06-11Removed an unused local variable, fixes a flake8 errorAlex Gaynor
2014-06-11Fixed #22680 -- I/O operation on closed file.Florian Apolloner
This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request.
2014-06-10Fixed #22780 -- Checked that LOCALE_PATHS is really a tupleTim Schaffer
2014-06-10Fixed #22798 -- `pluralize()` now adds plural_suffix for any `1 < d < 2`Moayad Mardini
Thanks Odd_Bloke for the report.
2014-06-10Fixed #22792 -- Updated checks for list_display_links in model adminGreg Chapple
2014-06-10Fixed #17552 -- Removed a hack for IE6 and earlier.Aymeric Augustin
It prevented the GZipMiddleware from compressing some data types even on more recent version of IE where the corresponding bug was fixed. Thanks Aaron Cannon for the report and Tim Graham for the review.
2014-06-09Removed unused import.Tim Graham
2014-06-09Fixed #20420 -- Normalized query counts on Oracle.Aymeric Augustin
This is achieved by inserting a fake entry in connection.queries when not releasing a savepoint (since Oracle doesn't support that operation.) Also removed the can_release_savepoints feature that was recently added, but is superseded by this solution.
2014-06-09Remove overzealous migration flushes from migration test suiteAndrew Godwin
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2014-06-08Fix broken alias testing testAndrew Godwin
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-06-08Fix router_honored test to not close connectionAndrew Godwin
2014-06-08Fixed #22777: Add dependency on through for autodetected M2M addsAndrew Godwin
2014-06-07Fixed #22750, #22248: Model renaming now also alters field FKsAndrew Godwin
2014-06-07Fixed flake8 error.Tim Graham
2014-06-07Fixed #22749: Making SQL management commands migration aware.Víðir Valberg Guðmundsson
2014-06-07Fixed #22436: More careful checking on method ref'ce serializationAndrew Godwin
2014-06-07Tested pluralization of decimals.Aymeric Augustin
Refs #16723.
2014-06-07Fixed #6992 -- Improved error when middleware omits HttpResponse.Aymeric Augustin
Thanks guettli for the report.
2014-06-07Fixed test again. Refs #12581.Aymeric Augustin
2014-06-07Fixed #17427 -- Removed dubious definition of connections equality.Aymeric Augustin
2014-06-07Made a test compatible with Python 2 and 3.Aymeric Augustin
2014-06-07Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths ↵Unai Zalakain
starting with // ``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``. ``WSGIRequest`` now doesn't remove all the leading slashes either, because ``http://test/server`` and http://test//server`` aren't the same thing (RFC2396). Thanks to SmileyChris for the initial patch.
2014-06-07Fixed #3711, #6734, #12581 -- Bounded connection.queries.Aymeric Augustin
Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others.
2014-06-06Merge pull request #2764 from gchp/ticket-20550Aymeric Augustin
Fixed #20550 -- Added keepdb argument to destroy_test_db
2014-06-06Fixed #22773 -- Forced templatize() to return unicodeClaude Paroz
2014-06-05Rewrote migration autodetector to involve actual computer science.Andrew Godwin
Fixes #22605, #22735; also lays the ground for some other fixes.
2014-06-05Merge pull request #2736 from SmileyChris/migration-run_beforeAndrew Godwin
Fixed #22725 - Migration.run_before does nothing
2014-06-06Replaced an explicit vendor check by a feature flag.Aymeric Augustin
Forward-port of c9aedce0 from stable/1.7.x.
2014-06-06Checked can_introspect_null feature in a test.Aymeric Augustin
Forward-port of 1238f92c from stable/1.7.x.
2014-06-05Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple
2014-06-05Fixed #18400 -- Modified length template filter to return 0 for unknown ↵Susan Tan
variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback.
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.