| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-10-23 | [5.0.x] Fixed #34903, Refs #34825 -- Made workers initialization respect ↵ | David Sanders | |
| empty set of used connections. Thanks to David Smith for the investigation & patch. Regression in 2128a73713735fb794ca6565fd5d7792293f5cfa. Follow up to a5905b164dbf52e59fa646af9c3d523c0804d86a. Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Backport of 68d0159b6dfce07f144045d56639c52066e8b90e from main | |||
| 2023-10-02 | [5.0.x] Fixed #32602 -- Clarified wording of TestCase class. | faishalmanzar | |
| Backport of f4e72e6523e6968d9628dfbff914ab57dbf19e6b from main | |||
| 2023-09-25 | [5.0.x] Fixed #34825 -- Avoided setting unused connections when initializing ↵ | David Sanders | |
| parallel workers. Backport of a5905b164dbf52e59fa646af9c3d523c0804d86a from main | |||
| 2023-09-22 | [5.0.x] Fixed #34823 -- Fixed assertTemplateUsed() context manager crash on ↵ | Arian | |
| unnamed templates. Backport of 51d703a27fee518491adee1e07e2b857a90b2c8d from main | |||
| 2023-08-31 | Fixed #34210 -- Added unittest's durations option to the test runner. | David Smith | |
| 2023-08-30 | Fixed #34757 -- Added support for following redirects to AsyncClient. | Olivier Tabone | |
| 2023-08-24 | Corrected AsyncRequestFactory's docstring. | Mariusz Felisiak | |
| All AsyncRequestFactory methods are still synchronous callables. | |||
| 2023-08-23 | Refs #34757 -- Moved HTTP redirect logic to django.test.client.ClientMixin. | Olivier Tabone | |
| 2023-07-27 | Simplified call_command() calls. | Nick Pope | |
| 2023-07-27 | Fixed typo in django/test/utils.py. | Bruno Alla | |
| 2023-07-14 | Refs #30686 -- Moved Parser.SELF_CLOSING_TAGS to django.utils.html.VOID_ELEMENTS | David Smith | |
| 2023-06-27 | Fixed #34391 -- Added async-compatible interface to auth functions and ↵ | Jon Janzen | |
| related methods test clients. | |||
| 2023-06-26 | Fixed #34675 -- Fixed creating remote webdriver for Selenium 4.10.0+. | Jonathan Weth | |
| 2023-06-19 | Refs #27079 -- Used addClassCleanup() in SeleniumTestCase. | Sarah Boyce | |
| Regression in def09bf4126d4886413adf7388882eca8e32576b. | |||
| 2023-06-13 | Fixed #34649 -- Fixed headless deprecation warning on Selenium 4.8+. | anthony kugel | |
| Thanks David Smith for the report and initial patch. | |||
| 2023-03-07 | Fixed #32172 -- Adapted signals to allow async handlers. | Jon Janzen | |
| co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2023-02-17 | Fixed #34342, Refs #33735 -- Fixed test client handling of async streaming ↵ | Alexandre Spaeth | |
| responses. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2023-02-01 | 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 | |||
| 2023-01-18 | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | |
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2023-01-17 | Refs #33348 -- Removed support for passing response object and form/formset ↵ | Mariusz Felisiak | |
| name to SimpleTestCase.assertFormError()/assertFormSetError(). Per deprecation timeline. | |||
| 2023-01-17 | Refs #33348 -- Removed support for passing errors=None to ↵ | Mariusz Felisiak | |
| SimpleTestCase.assertFormError()/assertFormsetErrors(). Per deprecation timeline. | |||
| 2023-01-17 | Refs #32655 -- Removed extra_tests argument for ↵ | Mariusz Felisiak | |
| DiscoverRunner.build_suite()/run_tests(). Per deprecation timeline. | |||
| 2023-01-17 | Refs #32446 -- Removed SERIALIZE test database setting per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-13 | Fixed #34240 -- Preserved headers of requests made with django.test.Client ↵ | Mariusz Felisiak | |
| in assertRedirects(). Bug in 67da22f08e05018ea968fcacbac9ac37ea925d85. | |||
| 2023-01-12 | Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Jarosław Wygoda | |
| 2023-01-12 | Fixed #26029 -- Allowed configuring custom file storage backends. | Jarosław Wygoda | |
| 2023-01-05 | Refs #33865 -- Improved implementation of FakePayload. | Nick Pope | |
| FakePayload is a wrapper around io.BytesIO and is expected to masquerade as though it is a file-like object. For that reason it makes sense that it should inherit the correct signatures from io.BytesIO methods. Crucially an implementation of .readline() is added which will be necessary for this to behave more like the expected file-like objects as LimitedStream will be changed to defer to the wrapped stream object rather than rolling its own implementation for improved performance. It should be safe to adjust these signatures because FakePayload is only used internally within test client helpers, is undocumented, and thus private. | |||
| 2022-12-20 | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | |
| Thanks to Mariusz Felisiak for review. | |||
| 2022-11-24 | Fixed #29062 -- Prevented possibility of database lock when using ↵ | baldychristophe | |
| LiveServerTestCase with in-memory SQLite database. Thanks Chris Jerdonek for the implementation idea. | |||
| 2022-11-14 | Fixed #34074 -- Added headers argument to RequestFactory and Client classes. | David Wobrock | |
| 2022-11-10 | Updated documentation and comments for RFC updates. | Nick Pope | |
| - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | |||
| 2022-11-08 | Fixed #34063 -- Fixed reading request body with async request factory and ↵ | Scott Halgrim | |
| client. Co-authored-by: Kevan Swanberg <kevswanberg@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 2022-10-24 | Fixed #34111 -- Made test runner with --debug-sql format SQL queries. | Giebisch | |
| 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-28 | Refs #34010 -- Made --debug-mode work for parallel tests using spawn. | Adam Johnson | |
| Bug in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. Thanks Kevin Renskers for the report. | |||
| 2022-09-28 | Fixed #34010 -- Made parallel tests using spawn set up Django. | Adam Johnson | |
| Bug in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. Thanks Kevin Renskers for the report. | |||
| 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-08-04 | Fixed #33891 -- Fixed test command crash when running in parallel using spawn. | Mariusz Felisiak | |
| Thanks Kevin Renskers for the report. Regression in 41c4cb253c137edf5a96b7408ea55d57d6e0602a. | |||
| 2022-07-19 | Fixed #33855 -- Removed unnecessary system check calls from test worker ↵ | Mariusz Felisiak | |
| initialization. Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. | |||
| 2022-06-09 | Fixed #33755 -- Moved ASGI body-file cleanup into request class. | Jonas Lundberg | |
| 2022-05-19 | Fixed #33719 -- Fixed test command crash when running in parallel. | Mariusz Felisiak | |
| Thanks Pēteris Caune for the report. Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. | |||
| 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-03-17 | Refs #31169 -- Prevented infinite loop in parallel tests with custom test ↵ | David Smith | |
| runner when using spawn. Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-03-17 | Prevented initialization of unused database connections. | Florian Apolloner | |
| 2022-03-15 | Fixed #31169 -- Adapted the parallel test runner to use spawn. | David Smith | |
| Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-03-08 | Rewrote some references to "master". | Adam Johnson | |
| Following d9a266d657f66b8c4fa068408002a4e3709ee669. | |||
| 2022-02-23 | Refs #31169 -- Added DatabaseCreation.setup_worker_connection() hook. | Valz | |
