| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2019-03-10 | Refs #18807 -- Removed unused exception handler from Client.request(). | Jon Dufresne | |
| Unused since 8bd7b598b6de1be1e3f72f3a1ee62803b1c02010. | |||
| 2019-02-20 | Fixed #18707 -- Added support for the test client to return 500 responses. | Jon Dufresne | |
| 2019-02-14 | Fixed #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-09 | Removed uneeded generator expressions and list comprehensions. | Sergey Fedoseev | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-02-05 | Refs #27753 -- Removed django.test.utils.patch_logger() and str_prefix(). | Tim Graham | |
| 2019-01-25 | Fixed grammar in FakePayload exception message. | Jon Dufresne | |
| 2019-01-21 | Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs. | Jon Dufresne | |
| Regression in 24959e48d949a20be969f649ece3576dbc7ce422. | |||
| 2019-01-14 | Removed unnecessary string formatting of strings. | Jon Dufresne | |
| 2019-01-14 | Refs #28478 -- Prevented database feature based skipping on tests ↵ | Simon Charette | |
| disallowing queries. Database features may require a connection to be established to determine whether or not they are enabled. | |||
| 2019-01-14 | Refs #28478 -- Prevented connection attempts against disallowed databases in ↵ | Simon Charette | |
| tests. Mocking connect as well as cursor methods makes sure an appropriate error message is surfaced when running a subset of test attempting to access a a disallowed database. | |||
| 2019-01-10 | Fixed #28478 -- Make DiscoverRunner skip creating unused test databases. | Simon Charette | |
| SimpleTestCase.databases makes it possible to determine the set of databases required to run the discovered tests. | |||
| 2019-01-10 | Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵ | Simon Charette | |
| favor of databases. | |||
| 2018-12-27 | Fixed #30024 -- Made urlencode() and Client raise TypeError when None is ↵ | Jon Dufresne | |
| passed as data. | |||
| 2018-12-05 | Reverted "Fixed #25251 -- Made data migrations available in ↵ | Tim Graham | |
| TransactionTestCase when using --keepdb." This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and 9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures for which a solution isn't forthcoming. | |||
| 2018-11-29 | Refs #25251 -- Filtered out skipped tests when processing the test suite to ↵ | romgar | |
| set _next_serialized_rollback. | |||
| 2018-11-25 | Fixed typo in patch_logger() docstring. | takaaki shimbo | |
| 2018-11-06 | Fixed #25251 -- Made data migrations available in TransactionTestCase when ↵ | romgar | |
| using --keepdb. Data loaded in migrations were restored at the beginning of each TransactionTestCase and all the tables are truncated at the end of these test cases. If there was a TransactionTestCase at the end of the test suite, the migrated data weren't restored in the database (especially unexpected when using --keepdb). Now data is restored at the end of each TransactionTestCase. | |||
| 2018-11-03 | Refs #29883 -- Removed runtests.py's dependency on selenium. | Tim Graham | |
| Regression in d207ac1568bb4dee305f6692ed7ddee8a1ff8b99. | |||
| 2018-11-03 | Fixed #29883 -- Added selenium hub support to runtests.py. | Tom Forbes | |
