mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	
				
					committed by
					
						 Vladimir Iakovlev
						Vladimir Iakovlev
					
				
			
			
				
	
			
			
			
						parent
						
							55cb3546df
						
					
				
				
					commit
					40ab4eb62d
				
			| @@ -1,6 +1,7 @@ | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| import pytest | ||||
| from thefuck.const import ARGUMENT_PLACEHOLDER | ||||
| from thefuck.shells import Fish | ||||
|  | ||||
|  | ||||
| @@ -82,6 +83,7 @@ class TestFish(object): | ||||
|         assert 'TF_SHELL=fish' in shell.app_alias('fuck') | ||||
|         assert 'TF_ALIAS=fuck PYTHONIOENCODING' in shell.app_alias('fuck') | ||||
|         assert 'PYTHONIOENCODING=utf-8 thefuck' in shell.app_alias('fuck') | ||||
|         assert ARGUMENT_PLACEHOLDER in shell.app_alias('fuck') | ||||
|  | ||||
|     def test_app_alias_alter_history(self, settings, shell): | ||||
|         settings.alter_history = True | ||||
|   | ||||
		Reference in New Issue
	
	Block a user