summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-01-17Refs #27683 -- Allowed setting isolation level in DATABASES ['OPTIONS'] on ↵Tim Graham
MySQL.
2017-01-16Refs #25809 -- Made a few late review comments for BrinIndex.Mads Jensen
2017-01-16Fixed #25307 -- Fixed QuerySet.annotate() crash with conditional expressions.Josh Smeaton
Thanks Travis Newport for the tests and Josh Smeaton for contributing to the patch.
2017-01-15Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-01-14Fixed #27149 -- Added Subquery and Exists database expressions.Matthew Schinckel
Thanks Josh Smeaton for Oracle fixes.
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-14Refs #25226 -- Cloned ArrayField.base_field on deconstruction.Simon Charette
This prevents the base_field from sharing attributes with the one used during migrations.
2017-01-14Fixed #27699 -- Added negative timedelta support to parse_duration()Jinank Jain
2017-01-14Fixed tests that rely on hardcoded id with keepdbJosh Smeaton
2017-01-14Changed a test to be consistent when run in parallel.Josh Smeaton
This particular test was sometimes failing when running the test suite in parallel. The `id` was different depending on the order the tests were run. The test was incorrectly comparing model primary keys rather than ensuring they didn't change.
2017-01-13Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache.Simon Charette
Thanks Peter Inglesby for the report and tests.
2017-01-13Fixed #27518 -- Prevented possibie password reset token leak via HTTP ↵Romain Garrigues
Referer header. Thanks Florian Apolloner for contributing to this patch and Collin Anderson, Markus Holtermann, and Tim Graham for review.
2017-01-13Removed available_apps on TestCase subclasses.Simon Charette
TestCase subclasses are wrapped in a transaction that prevents any data from being persisted between test runs andi thus don't require limiting the tables to be flushed to a subset of available apps like TransactionTestCase subclasses do.
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
2017-01-13Fixed #27723 -- Set MultiWidget's subwidgets input type from attrs argument.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-12Split AuthTemplateTests into test methods.Tim Graham
2017-01-12Fixed #27721 -- Added interface name to shell's IPython/bython import error.Peter Inglesby
2017-01-11Fixed #27713 -- Clarified NoReverseMatch error message when no view is found.Marten Kenbeek
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2017-01-11Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths.David Sanders
2017-01-10Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley
2017-01-10Fixed #27712 -- Reallowed Input widget's attrs argument to set the input type.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-10Fixed #26961 -- Made admin checks run when DEBUG=False.Adam Chainz
2017-01-10Fixed #27673 -- Made admin's checks run at check time instead of during ↵Adam Chainz
registration. Thanks Morgan Aubert for the test.
2017-01-09Fixed #27688 -- Made messages' add_message() request check use ducktyping.Raffaele Salmaso
2017-01-09Skipped unnecessary system checks in user_commands test.Adam Chainz
2017-01-09Made prefetch_related SQL inspection tests less brittle.François Freitag
After refs #16614, integers might appear outside the WHERE clause.
2017-01-09Fixed test isolation in a couple migrations tests.Tim Graham
Without this, tests from refs #27432 fail when running with --reverse.
2017-01-08Require Jinja2 >= 2.9.2 in test requirements.Florian Apolloner
While our code also works with any Jinja2 >2.7,<2.9 use >2.9.2 for simplicity reasons in the requirements file.
2017-01-07Fixed #27700 -- Optimized inspectdb tests by specifying database tables.Mariusz Felisiak
2017-01-07Pinned jinja2<2.9 in test requirements.Tim Graham
Kept the build green until a regression is fixed: https://github.com/pallets/jinja/issues/640
2017-01-07Simplified a contenttypes check test with mock.Adam Chainz
2017-01-07Refs #26961 -- Fixed invalid ModelAdmins in tests.Adam Chainz
2017-01-06Fixed #27432 -- Made app_label arguments limit showmigrations --plan output.Sebastian Spiegel
2017-01-06Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.Simon Charette
Thanks Harris Lapiroff for the report.
2017-01-06Fixed #27698 -- Added django.test.utils.ContextList.get()Tim Graham
2017-01-06Refs #15667 -- Prevented newlines in attrs.html widget rendering.Dmitry
Removed the trailing newline from widget attrs.html template. The solution may be revisited by fixing refs #9198 but not for Django 1.11. Thanks Dmitry Ivanchenko for the report and Preston Timmons for advice.
2017-01-06Fixed #24423 -- Reorganized i18n tag tests.Andy Craze
2017-01-06Fixed #27696 -- Measured email long lines on encoded contentClaude Paroz
Thanks Pavel Pokrovskiy for the report and Tim Graham for the review.
2017-01-05Cosmetic edits for messages_tests.Tim Graham
2017-01-04Fixed #27658 -- Prevented collectstatic from overwriting newer files in ↵Tim Graham
remote storages. Thanks revimi for the initial patch.
2017-01-04Tested collectstatic's deleting of files/symlinks when toggling --link.Tim Graham
2017-01-04Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was ↵Tim Graham
deleted?" message.
2017-01-03Refs #15035 -- Corrected a bug and improved comments for a staticfiles test.Tim Graham
2017-01-03Fixed #25912 -- Added binary left/right shift operators to F expressions.anabelensc
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups.Ketan Bhatt
2017-01-03Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.Mariusz Felisiak
2017-01-03Fixed #2856 -- Replaced some 404s with messages in admin.Karen Tracey
Instead of a 404, return a redirect to admin index page with a message indicating that the requested object does not exist. This avoids the admin returning 404 from "Recent Actions" links for deleted objects.
2017-01-03Refs #25004 -- Fixed test failure introduced by OpenLayers 3 update.Claude Paroz
2017-01-03Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function.Tim Graham