| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-01 | [4.2.x] Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main | |||
| 2023-01-12 | Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Jarosław Wygoda | |
| 2022-11-24 | Used DatabaseFeatures.django_test_skips to skip ↵ | Christophe Baldy | |
| AssertNumQueriesUponConnectionTests tests. | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-10-07 | Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to ↵ | Gregor Gärtner | |
| assertFormSetError(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-09-06 | Fixed #33616 -- Allowed registering callbacks that can fail in ↵ | SirAbhi13 | |
| transaction.on_commit(). Thanks David Wobrock and Mariusz Felisiak for reviews. | |||
| 2022-04-12 | Fixed #33633 -- Skipped some test_utils tests on databases that don't ↵ | zhangyangyu | |
| support transactions. | |||
| 2022-04-07 | Refs #33173 -- Fixed test_runner/test_utils tests on Python 3.11+. | Mariusz Felisiak | |
| Python 3.11 uses fully qualified test name in unittest output. See https://github.com/python/cpython/commit/755be9b1505af591b9f2ee424a6525b6c2b65ce9 | |||
| 2022-04-06 | Fixed #33348 -- Changed ↵ | Baptiste Mispelon | |
| SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset. Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly. | |||
| 2022-04-05 | Moved remaining SimpleTestCase.assertFormError()/assertFormsetErrors() tests ↵ | Mariusz Felisiak | |
| to test_utils. This also removes redundant tests in test_client_regress. Follow up to 68144f40490b2572c8da4341742b9e387e3f6bdd. | |||
| 2022-03-08 | Rewrote some references to "master". | Adam Johnson | |
| Following d9a266d657f66b8c4fa068408002a4e3709ee669. | |||
| 2022-02-22 | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | |
| Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | |||
| 2022-02-15 | Refs #33348 -- Made SimpleTestCase.assertFormError() raise ValueError when ↵ | Baptiste Mispelon | |
| "field" is passed without "form_index". | |||
| 2022-02-15 | Refs #33348 -- Fixed SimpleTestCase.assertFormError() error message raised ↵ | Mariusz Felisiak | |
| for unbound forms. | |||
| 2022-02-15 | Refs #33348 -- Improved messages raised by ↵ | Baptiste Mispelon | |
| SimpleTestCase.assertFormError()/assertFormsetErrors(). This makes messages use BaseFormSet/BaseForm.__repr__() instead of context, and adds the _assert_form_error() helper. | |||
| 2022-02-14 | Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when ↵ | Baptiste Mispelon | |
| form_index is too big. | |||
| 2022-02-14 | Refs #33348 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵ | Baptiste Mispelon | |
| raise an error for unbound forms/formsets. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2022-01-06 | Refs #33348 -- Deprecated passing errors=None to ↵ | Baptiste Mispelon | |
| SimpleTestCase.assertFormError()/assertFormsetErrors(). | |||
| 2022-01-06 | Fixed #33410 -- Fixed recursive capturing of callbacks by ↵ | Petter Friberg | |
| TestCase.captureOnCommitCallbacks(). Regression in d89f976bddb49fb168334960acc8979c3de991fa. | |||
| 2022-01-05 | Fixed #33400 -- Added support for msg_prefix and count arguments to ↵ | Ad Timmering | |
| assertTemplateUsed()/assertTemplateNotUsed() used as context managers. | |||
| 2021-12-08 | Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset ↵ | Baptiste Mispelon | |
| named "form". Thanks OutOfFocus4 for the report. Regression in 456466d932830b096d39806e291fe23ec5ed38d5. | |||
| 2021-11-26 | Refs #33301 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵ | Baptiste Mispelon | |
| raise ValueError for non test client responses. | |||
| 2021-11-26 | Added tests for SimpleTestCase.assertFormError()/assertFormsetErrors(). | Baptiste Mispelon | |
| 2021-11-15 | Fixed #33278 -- Improved error for connection/query attempts against ↵ | SwastikTripathi | |
| disallowed databases in tests. | |||
| 2021-10-29 | Fixed #33236 -- Fixed assertHTMLEqual() error messages for escaped HTML. | Pratyush Mittal | |
| 2021-09-20 | Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵ | Mariusz Felisiak | |
| compared to string values. Per deprecation timeline. | |||
| 2021-08-30 | Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks ↵ | Eugene Morozov | |
| recursively. | |||
| 2021-03-19 | Fixed #32556 -- Fixed handling empty string as non-boolean attributes value ↵ | Baptiste Mispelon | |
| by assertHTMLEqual(). | |||
| 2021-03-18 | Fixed #32556 -- Fixed assertHTMLEqual() to handle empty string as boolean ↵ | Hasan Ramezani | |
| attributes value. | |||
| 2021-03-02 | Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. | François Freitag | |
| 2021-02-26 | Fixed typo in assertQuerysetEqual() exception message. | Jacob Walls | |
| 2021-02-22 | Fixed #32469 -- Made assertQuerysetEqual() respect maxDiff when ordered=False. | Nick Pope | |
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-09-24 | Fixed #27906 -- Fixed test tools counting of HTML matches for subsets of ↵ | Jacob Walls | |
| elements. Previously examples such as '<a/><b/>' would not match in '<a/><b/><c/>'. | |||
| 2020-09-07 | Fixed #31944 -- Used addCleanup() to register TestContextDecorator cleanups. | François Freitag | |
| Cleanups from addCleanup() are scheduled to happen in reverse order to the order they are added (LIFO). Ensures each cleanup is executed from the innermost to the outermost. | |||
| 2020-07-13 | Fixed #30457 -- Added TestCase.captureOnCommitCallbacks(). | Adam Johnson | |
| 2020-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 2020-02-13 | Fixed #31250 -- Ignored processing instructions in ↵ | yura | |
| assertXMLEqual()/assertXMLNotEqual(). | |||
| 2020-02-07 | Used assertRaisesMessage() in various tests. | Hasan Ramezani | |
| 2020-02-06 | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | |
| 2019-05-24 | Fixed #30497 -- Ignored document type in assertXMLEqual()/assertXMLNotEqual(). | Caio Ariede | |
| 2019-05-10 | Fixed #30470 -- Added assertHTMLEqual() support for all self closing tags. | Jon Dufresne | |
| Support for the following tags was added: area, embed, param, track, and wbr. The full list of self closing tags is documented at: https://html.spec.whatwg.org/#void-elements | |||
| 2019-05-09 | Fixed #30468 -- Fixed assertHTMLEqual() to handle all ASCII whitespace in a ↵ | Jon Dufresne | |
| class attribute. | |||
| 2019-05-09 | Refs #27804 -- Used subTest() in HTMLEqualTests.test_self_closing_tags. | Jon Dufresne | |
| 2019-05-09 | Refs #30399 -- Made assertHTMLEqual normalize character and entity references. | Jon Dufresne | |
| 2019-04-29 | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Jon Dufresne | |
| Follow up to 253adc2b8a52982139d40c4f55b3fd446e1cb8f3. | |||
| 2019-02-08 | Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644. | Himanshu Lakhara | |
