| 
							
							
								 Russell Keith-Magee | 4aa6c57251 | Fixed #7583 -- Corrected the testing docs that referred to the defunct headers attribute of the response. Added a test case to validate (and document) the new behavior. Thanks to Malcolm for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7900 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2008-07-12 06:16:42 +00:00 |  | 
			
				
					| 
							
							
								 Luke Plant | 8eeb9feab0 | Fixed #4376 -- login_required now works with bound methods.  Thanks, Steven Bethard. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6658 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-11-07 22:45:07 +00:00 |  | 
			
				
					| 
							
							
								 Adrian Holovaty | 55d6aebfec | Fixed #5394 -- REDIRECT_FIELD_NAME is now configurable. Thanks, Petr Marhoun, DavidReynolds and effbot git-svn-id: http://code.djangoproject.com/svn/django/trunk@6206 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-09-14 19:25:37 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | 70902908c7 | Improved error reporting for assertions where there are no form errors, or a non-existent field has been provided. Also created a test client regression test, to hold the tests validating the failure cases of the TestCase assertions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5181 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-05-10 13:46:15 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | 5c68ab6e29 | Added configurable arguments to assertRedirects and assertContains to allow for other response status codes. Thanks for the suggestion, Jiri Barton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5179 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-05-10 11:27:59 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | 469314e7bc | Added redirection for email services during test conditions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5173 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-05-08 11:19:34 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | f073797f4c | Added assertFormError, assertTemplateUsed and assertTemplateNotUsed for use during unit testing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5156 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-05-07 12:34:18 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | f157bcefca | Fixes #3212 -- Added code to test client to allow posting of multi-form values (e.g., MultipleChoiceFields). Thanks, Ben Dean Kawamura. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4774 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-03-22 10:23:52 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | d6d51c9546 | Fixed #3160 -- Added the ability to control the content type in a test client POST request. This is to allow easier testing of json-rpc/xml-rpc/soap etc interfaces. Thanks to Mikeal Rogers for the suggestion, and Ben <afternoon@uk2.net> for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4529 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-02-17 00:23:09 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | f9cdde0cb4 | Fixed #3162 -- Added coded to catch and rethrow exceptions that are thrown by the views visited by the test client. Thanks, Ben <afternoon@uk2.net>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4482 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-02-11 00:23:31 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | 9ba27afce0 | Added a ` session` attribute to the test Client, to make it easier to test if session variables have been modified in a view. Also renamed Client.cookie to Client.cookies, to match documentation and common sense.git-svn-id: http://code.djangoproject.com/svn/django/trunk@4464 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2007-02-09 13:47:36 +00:00 |  | 
			
				
					| 
							
							
								 Russell Keith-Magee | 826b9ff5e5 | Refs #2333 - Added model test for the test Client. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3708 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 2006-09-02 09:34:40 +00:00 |  |