| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 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-25 | Refs #20349 -- Avoided loading testing libraries when not needed. | Collin Anderson | |
| 2022-01-07 | Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. | Ad Timmering | |
| 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. | |||
| 2022-01-05 | Refs #33400 -- Renamed SimpleTestCase._assert_template_used() to ↵ | Ad Timmering | |
| _get_template_used(). | |||
| 2021-12-17 | Changed signatures of setting_changed signal receivers. | Adam Johnson | |
| 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-15 | Fixed #33278 -- Improved error for connection/query attempts against ↵ | SwastikTripathi | |
| disallowed databases in tests. | |||
| 2021-11-12 | Fixed #33161 -- Enabled durability check for nested atomic blocks in TestCase. | Krzysztof Jagiello | |
| Co-Authored-By: Adam Johnson <me@adamj.eu> | |||
| 2021-11-08 | Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵ | Baptiste Mispelon | |
| successes. | |||
| 2021-10-29 | Fixed #33236 -- Fixed assertHTMLEqual() error messages for escaped HTML. | Pratyush Mittal | |
| 2021-10-26 | Fixed #27079 -- Avoided multiple setUpClass()/tearDownClass() calls in ↵ | Jacob Walls | |
| LiveServerTestCase tests. | |||
| 2021-10-20 | Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings. | David Smith | |
| 2021-10-18 | Refs #32956 -- Changed docs to treat the acronym HTTP phonetically. | David Smith | |
| 2021-10-12 | Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels. | Ade Lee | |
| md5 is not an approved algorithm in FIPS mode, and trying to instantiate a hashlib.md5() will fail when the system is running in FIPS mode. md5 is allowed when in a non-security context. There is a plan to add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether or not the instance is being used in a security context. In the case where it is not, the instantiation of md5 will be allowed. See https://bugs.python.org/issue9216 for more details. Some downstream python versions already support this parameter. To support these versions, a new encapsulation of md5() has been added. This encapsulation will pass through the usedforsecurity parameter in the case where the parameter is supported, and strip it if it is not. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-10-11 | Fixed #33149 -- Made test runner --pdb option work with subTest(). | Abhyudai | |
| Thanks Lucidot for the report and Mariusz Felisiak for the initial patch. | |||
| 2021-09-24 | Fixed #33132 -- Fixed test client handling of querystring only redirects. | Jaap Roes | |
| Regression in 1e5aa8e1c79252cc810af21294a6e945d11d37b3. | |||
| 2021-09-20 | Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵ | Mariusz Felisiak | |
| compared to string values. Per deprecation timeline. | |||
| 2021-09-20 | Refs #31395 -- Removed support for assigning objects which don't support ↵ | Mariusz Felisiak | |
| deepcopy() in setUpTestData(). Per deprecation timeline. | |||
