mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							c574bec092
						
					
				
				
					commit
					2fd610eb30
				
			| @@ -651,7 +651,7 @@ class WatchmanReloaderTests(ReloaderTests, IntegrationTests): | ||||
|  | ||||
|     @mock.patch.dict(os.environ, {'DJANGO_WATCHMAN_TIMEOUT': '10'}) | ||||
|     def test_setting_timeout_from_environment_variable(self): | ||||
|         self.assertEqual(self.RELOADER_CLS.client_timeout, 10) | ||||
|         self.assertEqual(self.RELOADER_CLS().client_timeout, 10) | ||||
|  | ||||
|  | ||||
| @skipIf(on_macos_with_hfs(), "These tests do not work with HFS+ as a filesystem") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user