John 
							
						 
					 
					
						
						
							
						
						57d456319d 
					 
					
						
						
							
							[3.2.x] Added missing mode="rb" argument to open() call in Client.post() example in docs.  
						
						... 
						
						
						
						Backport of 509d266c6a 
						
						
					 
					
						2021-03-26 08:05:22 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						8298775dad 
					 
					
						
						
							
							[3.2.x] Refs  #25735  -- Added tags/exclude_tags arguments to DiscoverRunner docs.  
						
						... 
						
						
						
						Backport of 37044817f9 
						
						
					 
					
						2021-03-19 08:06:45 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						9059b2fe60 
					 
					
						
						
							
							[3.2.x] Added parallel argument to DiscoverRunner docs.  
						
						... 
						
						
						
						Follow up to cd9fcd4e80f099ef3ef5 
						
						
					 
					
						2021-03-19 08:06:31 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						62fd750bf7 
					 
					
						
						
							
							[3.2.x] Corrected DiscoverRunner.build_suite() signature.  
						
						... 
						
						
						
						Follow up to 9012833af8fc6fba0aa9 
						
						
					 
					
						2021-03-19 08:06:25 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						6b020f3c94 
					 
					
						
						
							
							[3.2.x]  Fixed   #32547  -- Corrected notes about validation in HTML assertions docs.  
						
						... 
						
						
						
						Backport of ceb4b9ee68 
						
						
					 
					
						2021-03-18 11:09:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jozef 
							
						 
					 
					
						
						
							
						
						3ff859b789 
					 
					
						
						
							
							[3.2.x] Fixed typo in docs/topics/testing/advanced.txt.  
						
						... 
						
						
						
						Backport of 6993e1bf6d 
						
						
					 
					
						2021-03-17 18:49:53 +01:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						3fd83c48db 
					 
					
						
						
							
							[3.2.x]  Fixed   #32507  -- Added link to assertHTMLEqual() in assertInHTML() docs.  
						
						... 
						
						
						
						Backport of 286fb73b69 
						
						
					 
					
						2021-03-05 21:21:25 +01:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						230d5b16b2 
					 
					
						
						
							
							[3.2.x] Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.  
						
						... 
						
						
						
						Backport of 0c7e880e13 
						
						
					 
					
						2021-02-26 09:11:57 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						abca17c8e0 
					 
					
						
						
							
							[3.2.x] Refs  #31811  -- Corrected DiscoverRunner.setup_databases() signature.  
						
						... 
						
						
						
						Accidentally changed in 61a0ba43cfaf685b5f00 
						
						
					 
					
						2021-02-24 20:24:34 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						bfc429d993 
					 
					
						
						
							
							[3.2.x]  Fixed   #32438  -- Fixed typo in docs/topics/testing/tools.txt.  
						
						... 
						
						
						
						Backport of e412b28845 
						
						
					 
					
						2021-02-12 09:21:07 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						3f7b327562 
					 
					
						
						
							
							Fixed   #31235  -- Made assertQuerysetEqual() compare querysets directly.  
						
						... 
						
						
						
						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-06 09:24:50 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						ebb08d1942 
					 
					
						
						
							
							Fixed   #32159  -- Ensured AsyncRequestFactory correctly sets headers.  
						
						
						
						
					 
					
						2020-11-04 11:07:15 +01:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						4e4db426c5 
					 
					
						
						
							
							Fixed typo in docs/topics/testing/tools.txt.  
						
						
						
						
					 
					
						2020-10-18 19:50:14 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Carrick 
							
						 
					 
					
						
						
							
						
						bcc2befd0e 
					 
					
						
						
							
							Fixed   #31789  -- Added a new headers interface to HttpResponse.  
						
						
						
						
					 
					
						2020-09-14 08:41:59 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						0b8871ab67 
					 
					
						
						
							
							Fixed   #31979  -- Made django.test.utils.setup_databases()'s time_keeper argument optional.  
						
						
						
						
					 
					
						2020-09-03 09:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								Ahmad A. Hussein 
							
						 
					 
					
						
						
							
						
						61a0ba43cf 
					 
					
						
						
							
							Refs  #31811  -- Added optional timing outputs to the test runner.  
						
						
						
						
					 
					
						2020-08-13 17:17:15 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						e906ff6fca 
					 
					
						
						
							
							Fixed   #30457  -- Added TestCase.captureOnCommitCallbacks().  
						
						
						
						
					 
					
						2020-07-13 11:56:46 +02:00 
						 
				 
			
				
					
						
							
							
								ovkulkarni 
							
						 
					 
					
						
						
							
						
						b7a438c7e2 
					 
					
						
						
							
							Fixed   #31509  -- Made DiscoverRunner enable faulthandler by default.  
						
						
						
						
					 
					
						2020-07-10 18:55:50 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						188f7786bc 
					 
					
						
						
							
							Refs  #27430  -- Added buffer argument to DiscoverRunner docs.  
						
						
						
						
					 
					
						2020-07-10 18:55:50 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2c43840dfb 
					 
					
						
						
							
							Refs  #30676  -- Added pdb argument to DiscoverRunner docs.  
						
						
						
						
					 
					
						2020-07-10 18:55:50 +02:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						659a73bc0a 
					 
					
						
						
							
							Fixed   #29308  -- Clarified how assertQuerysetEqual()'s transform works.  
						
						
						
						
					 
					
						2020-07-04 23:13:21 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						3cf80d3fcf 
					 
					
						
						
							
							Fixed   #31395  -- Made setUpTestData enforce in-memory data isolation.  
						
						... 
						
						
						
						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-15 20:22:52 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						4c5236ef93 
					 
					
						
						
							
							Removed versionadded/changed annotations for 3.0.  
						
						
						
						
					 
					
						2020-05-13 09:07:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b28be08cac 
					 
					
						
						
							
							Fixed broken links in docs.  
						
						
						
						
					 
					
						2020-04-28 10:09:45 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						4216225480 
					 
					
						
						
							
							Clarified async documentation.  
						
						
						
						
					 
					
						2020-03-26 16:46:24 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						fc0fa72ff4 
					 
					
						
						
							
							Fixed   #31224  -- Added support for asynchronous views and middleware.  
						
						... 
						
						
						
						This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client. 
						
						
					 
					
						2020-03-18 19:59:12 +01:00 
						 
				 
			
				
					
						
							
							
								yura 
							
						 
					 
					
						
						
							
						
						54b7af7eb4 
					 
					
						
						
							
							Fixed   #31250  -- Ignored processing instructions in assertXMLEqual()/assertXMLNotEqual().  
						
						
						
						
					 
					
						2020-02-13 11:03:54 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						430e796980 
					 
					
						
						
							
							Refs  #31055  -- Made DiscoverRunner skip running system checks on unused test databases.  
						
						
						
						
					 
					
						2020-02-07 11:01:31 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						7fa0fa45c5 
					 
					
						
						
							
							Refs  #30997  -- Removed HttpRequest.is_ajax() usage.  
						
						
						
						
					 
					
						2020-01-27 08:52:40 +01:00 
						 
				 
			
				
					
						
							
							
								Garry Polley 
							
						 
					 
					
						
						
							
						
						0b698eaea6 
					 
					
						
						
							
							Added example of assertNumQueries() with "using" kwarg in testing topics docs.  
						
						
						
						
					 
					
						2019-12-20 08:07:36 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						70d95682b1 
					 
					
						
						
							
							Corrected some typos in documentation.  
						
						
						
						
					 
					
						2019-12-18 11:36:27 +01:00 
						 
				 
			
				
					
						
							
							
								Felipe Lee 
							
						 
					 
					
						
						
							
						
						a2e96f7969 
					 
					
						
						
							
							Fixed   #20456  -- Added example of directly testing CBVs in topics docs.  
						
						
						
						
					 
					
						2019-12-04 16:36:42 +01:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						abc51d44af 
					 
					
						
						
							
							Used  🎫  role in all tickets links.  
						
						
						
						
					 
					
						2019-11-26 14:02:24 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Savchenko 
							
						 
					 
					
						
						
							
						
						1711c509fa 
					 
					
						
						
							
							Fixed   #27391  -- Implemented SimpleTestCase.debug().  
						
						... 
						
						
						
						debug() should bubbled up exceptions if occurring in test, but behave
the same as run() when no exceptions occurred. 
						
						
					 
					
						2019-10-18 12:22:51 +02:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						dafdfd6a60 
					 
					
						
						
							
							Fixed   #28790  -- Doc'd how to avoid running certain test classes in parallel.  
						
						
						
						
					 
					
						2019-10-08 12:11:06 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b61ea56789 
					 
					
						
						
							
							Refs  #28478  -- Removed support for TestCase's allow_database_queries and multi_db per deprecation timeline.  
						
						
						
						
					 
					
						2019-09-10 12:01:00 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						416c584cab 
					 
					
						
						
							
							Removed versionadded/changed annotations for 2.2.  
						
						
						
						
					 
					
						2019-09-10 12:01:00 +02:00 
						 
				 
			
				
					
						
							
							
								Tobias Kunze 
							
						 
					 
					
						
						
							
						
						4a954cfd11 
					 
					
						
						
							
							Fixed   #30573  -- Rephrased documentation to avoid words that minimise the involved difficulty.  
						
						... 
						
						
						
						This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review. 
						
						
					 
					
						2019-09-06 13:27:46 +02:00 
						 
				 
			
				
					
						
							
							
								François Freitag 
							
						 
					 
					
						
						
							
						
						9a88e43aeb 
					 
					
						
						
							
							Fixed broken links and redirects in documentation.  
						
						... 
						
						
						
						Removed reference to custom builds, feature removed in
8e6b3bba99 
						
						
					 
					
						2019-08-21 10:57:24 +02:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						753b67c58d 
					 
					
						
						
							
							Fixed   #30497  -- Ignored document type in assertXMLEqual()/assertXMLNotEqual().  
						
						
						
						
					 
					
						2019-05-24 07:29:42 +02:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						4fb9e7b057 
					 
					
						
						
							
							Doc'd that assertXMLEqual()/assertXMLNotEqual() ignores XML declaration and comments.  
						
						
						
						
					 
					
						2019-05-24 07:27:11 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						48235ba807 
					 
					
						
						
							
							Refs  #30399  -- Made assertHTMLEqual normalize character and entity references.  
						
						
						
						
					 
					
						2019-05-09 15:55:32 +02:00 
						 
				 
			
				
					
						
							
							
								François Freitag 
							
						 
					 
					
						
						
							
						
						568eed9e79 
					 
					
						
						
							
							Fixed   #30245  -- Added -k option to DiscoverRunner.  
						
						
						
						
					 
					
						2019-04-30 16:20:51 +02:00 
						 
				 
			
				
					
						
							
							
								Ramiro Morales 
							
						 
					 
					
						
						
							
						
						aed89adad5 
					 
					
						
						
							
							Fixed   #30367  -- Changed "pip install" to "python -m pip install" in docs, comments and hints.  
						
						
						
						
					 
					
						2019-04-18 14:41:15 +02:00 
						 
				 
			
				
					
						
							
							
								Samuel Gaist 
							
						 
					 
					
						
						
							
						
						75840688f9 
					 
					
						
						
							
							Doc'd the use of --noinput for test database handling.  
						
						
						
						
					 
					
						2019-03-05 20:25:22 -05:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						7feddd878c 
					 
					
						
						
							
							Fixed   #18707  -- Added support for the test client to return 500 responses.  
						
						
						
						
					 
					
						2019-02-20 12:16:10 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Davis 
							
						 
					 
					
						
						
							
						
						2bd8df243a 
					 
					
						
						
							
							Fixed   #30184  -- Removed ellipsis characters from shell output strings.  
						
						... 
						
						
						
						Partially reverted 50b8493581#29654 )
to avoid a crash when the user shell doesn't support non-ASCII characters. 
						
						
					 
					
						2019-02-13 13:59:44 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7e6b214ed3 
					 
					
						
						
							
							Fixed   #30116  -- Dropped support for Python 3.5.  
						
						
						
						
					 
					
						2019-01-30 10:19:48 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						ec7e179aeb 
					 
					
						
						
							
							Removed versionadded/changed annotations for 2.1.  
						
						
						
						
					 
					
						2019-01-17 10:50:25 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						41e73de39d 
					 
					
						
						
							
							Fixed   #28478  -- Make DiscoverRunner skip creating unused test databases.  
						
						... 
						
						
						
						SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests. 
						
						
					 
					
						2019-01-10 19:11:21 -05:00