summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-03-15Cleaned up exception message checking in some tests.Jon Dufresne
2019-03-14Fixed #30254 -- Allowed model metaclasses to access the attribute dict in ↵Matt Westcott
__init__(). Regression in a68ea231012434b522ce45c513d84add516afa60.
2019-03-14Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin ↵Herman S
checks allow subclasses.
2019-03-14Simplified test_transform()s in db_functions.math.Mariusz Felisiak
2019-03-14Fixed serializers tests for PyYAML 5.1+.Mariusz Felisiak
2019-03-13Fixed #30183 -- Added introspection of inline SQLite constraints.Paveł Tyślacki
2019-03-12Simplified forms_tests.tests.test_formsets.Mariusz Felisiak
2019-03-09Fixed typo in tests/check_framework/test_translation.py comment.Nick Pope
2019-03-08Fixed #30186 -- Made showmigrations --list display the applied datetimes at ↵tschilling
verbosity 2+.
2019-03-07Refs #30186 -- Changed MigrationRecorder.applied_migrations() to return a dict.Tim Schilling
2019-03-07Fixed #30189 -- Removed transaction from sqlmigrate output if database ↵Parth Patil
doesn't use one.
2019-03-07Fixed #29754 -- Added is_dst parameter to Trunc database functions.ahbk
2019-03-05Fixed #29459 -- Initialized form data/files with empty MultiValueDicts.Andra Denis Ionescu
2019-03-05Fixed #30234 -- Disallowed non-upper settings in settings.configure().orlnub123
2019-03-04Fixed #30232 -- Corrected expected format in invalid DurationField error ↵avas9366
message.
2019-03-03Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
2019-03-02Refs #30227 -- Added helpful message for non-ASCII Content-Type in mulitpart ↵Tim Graham
request.
2019-03-02Fixed #30227 -- Fixed crash on request without boundary in Content-Type.Tim Graham
2019-03-02Merged isinstance() calls.Jon Dufresne
Follow up to 0214f367bc84d7217e42ae0441d500d31c6a5b78.
2019-03-01Refs #29408 -- Cosmetic edits for validation of related fields and lookups ↵Mariusz Felisiak
in model Meta.ordering. Follow up to 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.
2019-03-01Fixed #29408 -- Added validation of related fields and lookups in model ↵Hasan Ramezani
Meta.ordering.
2019-02-28Fixed #30221 -- Made label suffix of admin's read-only fields translatable.Etienne Chové
2019-02-27Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.Matthias Kestenholz
Thanks gasman for the tests, and codingjoe and timgraham for the review.
2019-02-27Fixed #30215 -- Fixed autoreloader crash for modules without __spec__.shiningfm
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
2019-02-26Refs #30057 -- Added more diffsettings tests.orlnub123
The test in 573f44d62fe1e87e2c20a74eba5e20ca9ff0ed85 doesn't act as a regression test.
2019-02-25Refs #30179 -- Moved topological sort functions to django.utils.Matthias Kestenholz
2019-02-25Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
2019-02-23Fixed #30141 -- Fixed parse_duration() for some negative durations.Seunghun Lee
2019-02-21Fixed a failure when running tests on systems with SQLite < 3.8.3.Tim Graham
2019-02-21Refs #19544 -- Added a fast path for through additions if supported.Simon Charette
The single query insertion path is taken if the backend supports inserts that ignore conflicts and m2m_changed signals don't have to be sent.
2019-02-21Refs #19544 -- Ignored auto-created through additions conflicts if supported.Simon Charette
This prevents IntegrityError caused by race conditions between missing ids retrieval and bulk insertions.
2019-02-21Fixed typos in tests/template_tests/test_context.py.Tim Graham
2019-02-21Refs #28643 -- Added MD5 database function.Mariusz Felisiak
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
2019-02-20Fixed #18707 -- Added support for the test client to return 500 responses.Jon Dufresne
2019-02-20Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on ↵Simon Charette
initialization. This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita.
2019-02-14Fixed #30181 -- Made cache.get() with default work correctly on PyLibMCCache ↵Jakub Szafrański
if None is cached.
2019-02-14Fixed #29619 -- Added field names to some FieldErrors.Hasan Ramezani
2019-02-14Refs #15902 -- Deprecated storing user's language in the session.Claude Paroz
2019-02-14Fixed #30171 -- Fixed DatabaseError in servers tests.Jon Dufresne
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.
2019-02-14Made a requests test that will fail in 2028 fail 10 years later.Bernhard M. Wiedemann
2038 is chosen for compatibility with 32-bit systems.
2019-02-14Fixed admin_scripts test failures on macOS.Carlton Gibson
Regression in 487d904bf253de2f5633f181a168f94086bcd6cb.
2019-02-13Fixed #30173 -- Simplified db.backends.postgresql.client.Daniel Bowring
2019-02-13Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine.Tim Graham
2019-02-13Fixed #30184 -- Removed ellipsis characters from shell output strings.Dan Davis
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters.
2019-02-12Fixed #22423 -- Added support for MySQL operators on real geometries.Claude Paroz
Thanks Viswanathan Mahalingam for the report and initial patch, and Nicke Pope and Tim Graham for the review.
2019-02-12Simplified test_cursor_var() by using str instead of Database.STRING.Mariusz Felisiak
2019-02-11Fixed spelling mistakes in comments and tests.Semen Zhydenko
2019-02-11Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().Carlton Gibson
Thanks Sjoerd Job Postmus for the report and initial patch. Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.
2019-02-09Removed unneeded list() calls in sorted() argument.Sergey Fedoseev
2019-02-09Refs #15362 -- Removed obsolete workaround in file_uploads test view.Jon Dufresne