mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Refs #16470 -- Fixed typo in a FileResponse test.
This commit is contained in:
		
				
					committed by
					
						 Claude Paroz
						Claude Paroz
					
				
			
			
				
	
			
			
			
						parent
						
							cc79c7ee63
						
					
				
				
					commit
					ee52044a27
				
			| @@ -34,7 +34,7 @@ class FileResponseTests(SimpleTestCase): | ||||
|             response = FileResponse(os.fdopen(pipe_for_read, mode='rb')) | ||||
|             self.assertEqual(list(response), [b'binary content']) | ||||
|             response.close() | ||||
|             self.assertFalse(response.has_header('Ĉontent-Length')) | ||||
|             self.assertFalse(response.has_header('Content-Length')) | ||||
|  | ||||
|     def test_file_from_disk_as_attachment(self): | ||||
|         response = FileResponse(open(__file__, 'rb'), as_attachment=True) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user