| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2020-12-08 | Fixed #32233 -- Cleaned-up duplicate connection functionality. | Florian Apolloner | |
| 2020-11-28 | Fixed #32227 -- Prevented crash when setUpTestData() errors with --debug-sql. | Adam Johnson | |
| Thanks Mariusz Felisiak for the report. | |||
| 2020-11-27 | Fixed #32220 -- Added durable argument to transaction.atomic(). | Ian Foote | |
| 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-11-04 | Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers. | Carlton Gibson | |
| 2020-11-03 | Fixed #32162 -- Fixed setting Content-Length header in AsyncRequestFactory. | Patrick Arminio | |
| 2020-10-28 | Made small readability improvements. | Martin Thoma | |
| 2020-10-27 | Fixed #32128 -- Added asgiref 3.3 compatibility. | Carlton Gibson | |
| Thread sensitive parameter is True by default from asgiref v3.3.0. Added an explicit thread_sensitive=False to previously implicit uses. | |||
| 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-09-03 | Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper ↵ | Jon Dufresne | |
| argument optional. | |||
| 2020-08-14 | Added missing items to django.test.client.__all__ and django.test.utils.__all__. | Mads Jensen | |
| 2020-08-14 | Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects(). | Mads Jensen | |
| 2020-08-13 | Refs #31811 -- Added optional timing outputs to the test runner. | Ahmad A. Hussein | |
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-07-13 | Fixed #30457 -- Added TestCase.captureOnCommitCallbacks(). | Adam Johnson | |
| 2020-07-10 | Fixed #31509 -- Made DiscoverRunner enable faulthandler by default. | ovkulkarni | |
| 2020-05-27 | Fixed #31494 -- Preserved query strings when following HTTP 307/308 ↵ | Ahmad A. Hussein | |
| redirects in test client. | |||
| 2020-05-15 | Fixed #31395 -- Made setUpTestData enforce in-memory data isolation. | Simon Charette | |
| Since it's introduction in Django 1.8 setUpTestData has been suffering from a documented but confusing caveat due to its sharing of attributes assigned during its execution with all test instances. By keeping track of class attributes assigned during the setUpTestData phase its possible to ensure only deep copies are provided to test instances on attribute retreival and prevent manual setUp gymnastic to work around the previous lack of in-memory data isolation. Thanks Adam Johnson for the extensive review. | |||
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-03-18 | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | |
| This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | |||
| 2020-03-05 | Refs #31224 -- Added autoconversion of test async methods. | Andrew Godwin | |
| 2020-03-05 | Fixed #31327 -- Deprecated providing_args argument for Signal. | Jon Dufresne | |
| 2020-02-13 | Fixed #31250 -- Ignored processing instructions in ↵ | yura | |
| assertXMLEqual()/assertXMLNotEqual(). | |||
| 2020-02-07 | Refs #31055 -- Made DiscoverRunner skip running system checks on unused test ↵ | Simon Charette | |
| databases. | |||
| 2020-02-07 | Closed caches in clear_cache_handlers() signal handler. | Jon Dufresne | |
| This also fixes ResourceWarnings about unclosed sockets emitted in cache.tests. | |||
| 2019-12-09 | Fixed #27430 -- Added -b/--buffer option to DiscoverRunner. | Baptiste Mispelon | |
| 2019-12-04 | Removed unnecessary dict.get() call in favor of direct indexing. | Jon Dufresne | |
| The 'TEST' key is always set to a dictionary in ConnectionHandler. | |||
| 2019-11-19 | Removed unnecessary numeric indexes in format strings. | Jon Dufresne | |
| 2019-10-29 | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | |
| 2019-10-21 | Fixed #30876 -- Moved classproperty() decorator to the django.utils.functional. | André Ericson | |
| 2019-10-18 | Fixed #27391 -- Implemented SimpleTestCase.debug(). | Pavel Savchenko | |
| debug() should bubbled up exceptions if occurring in test, but behave the same as run() when no exceptions occurred. | |||
| 2019-10-18 | Fixed #28337 -- Preserved extra headers of requests made with ↵ | Patrick Jenkins | |
| django.test.Client in assertRedirects(). Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | |||
| 2019-09-10 | Refs #28478 -- Removed support for TestCase's allow_database_queries and ↵ | Mariusz Felisiak | |
| multi_db per deprecation timeline. | |||
| 2019-09-10 | Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline. | Mariusz Felisiak | |
| 2019-08-11 | Fixed #30677 -- Improved error message for urlencode() and Client when None ↵ | swatantra | |
| is passed as data. | |||
| 2019-08-07 | Fixed #30676 -- Added --pdb option to test runner. | Andrew Godwin | |
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-17 | Fixed typos in FakePayload docstring and SimplifiedURLTests test name. | Min ho Kim | |
| 2019-06-07 | Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json(). | Jon Dufresne | |
| 2019-05-24 | Fixed #30497 -- Ignored document type in assertXMLEqual()/assertXMLNotEqual(). | Caio Ariede | |
| 2019-05-17 | Fixed #30220 -- Added support for headless mode in selenium tests. | Johannes Hoppe | |
| 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 #30399 -- Made assertHTMLEqual normalize character and entity references. | Jon Dufresne | |
| 2019-04-30 | Fixed #30245 -- Added -k option to DiscoverRunner. | François Freitag | |
| 2019-04-24 | Removed unnecessary assignments in various code. | Jon Dufresne | |
| 2019-04-18 | Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, ↵ | Ramiro Morales | |
| comments and hints. | |||
| 2019-03-11 | Minimized try block in Client.request(). | Jon Dufresne | |
