| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-02-21 | Fixed #32114 -- Fixed parallel test crash on non-picklable objects in subtests. | David Wobrock | |
| 2024-02-19 | Fixed #35226 -- Reallowed executing queries for dynamically created connections. | Mariusz Felisiak | |
| Regression in 8fb0be3500cc7519a56985b1b6f415d75ac6fedb. Thanks Florian Apolloner for the report. | |||
| 2024-02-14 | Fixed #28263 -- Fixed TestCase setup for databases that don't support ↵ | Tim Graham | |
| savepoints. | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2024-01-04 | Used enterClassContext() where appropriate. | Mariusz Felisiak | |
| 2024-01-03 | Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase. | David Wobrock | |
| 2023-12-22 | Fixed #34658 -- Added SimpleTestCase.assertNotInHTML(). | Nicolas Lupien | |
| 2023-12-12 | Refs #34305 -- Added SimpleTestCase.enterClassContext() on Python < 3.11. | Nick Pope | |
| 2023-12-06 | Refs #34986 -- Moved garbage_collect() helper to django.test.utils. | Nick Pope | |
| 2023-11-24 | Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). | Nick Pope | |
| 2023-11-23 | Fixed #14611 -- Added query_params argument to RequestFactory and Client ↵ | Tom Carrick | |
| classes. | |||
| 2023-10-31 | Fixed #32106 -- Preserved HTTP_HOST in test Client when following redirects. | Ben Cail | |
| Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> | |||
| 2023-10-23 | Fixed #34903, Refs #34825 -- Made workers initialization respect empty set ↵ | David Sanders | |
| 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> | |||
| 2023-10-18 | Refs #34043 -- Added --screenshots option to runtests.py and selenium tests. | Sarah Boyce | |
| 2023-10-16 | Refs #34043 -- Added context managers to SeleniumTestCase for changing ↵ | Sarah Boyce | |
| window size. | |||
| 2023-10-03 | Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in ↵ | Chinmoy Chakraborty | |
| error messages. | |||
| 2023-10-03 | Refs #34657 -- Made msg_prefix handling in assertURLEqual()/assertInHTML ↵ | Mariusz Felisiak | |
| consistent with other assertions. Co-authored-by: Chinmoy Chakraborty <chinmoy12c@gmail.com> | |||
| 2023-10-02 | Fixed #32602 -- Clarified wording of TestCase class. | faishalmanzar | |
| 2023-09-29 | Refs #34657 -- Made assertInHTML() use unparsed needle in error messages. | Chinmoy Chakraborty | |
| 2023-09-29 | Refs #15667 -- Added resetting default renderer when FORM_RENDERER is changed. | Mariusz Felisiak | |
| 2023-09-25 | Fixed #34825 -- Avoided setting unused connections when initializing ↵ | David Sanders | |
| parallel workers. | |||
| 2023-09-22 | Fixed #34823 -- Fixed assertTemplateUsed() context manager crash on unnamed ↵ | Arian | |
| templates. | |||
| 2023-09-18 | Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Mariusz Felisiak | |
| This also removes django.core.files.storage.get_storage_class(). Per deprecation timeline. | |||
| 2023-09-18 | Refs #33990 -- Removed TransactionTestCase.assertQuerysetEqual() per ↵ | Mariusz Felisiak | |
| deprecation timeline. | |||
| 2023-09-18 | Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 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. | |||
