mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#620: Fix functional tests
This commit is contained in:
		| @@ -81,6 +81,5 @@ def without_confirmation(proc, TIMEOUT): | ||||
|  | ||||
|  | ||||
| def how_to_configure(proc, TIMEOUT): | ||||
|     proc.sendline(u'unalias fuck') | ||||
|     proc.sendline(u'fuck') | ||||
|     assert proc.expect([TIMEOUT, u"alias isn't configured"]) | ||||
|   | ||||
| @@ -48,4 +48,5 @@ def test_without_confirmation(proc, TIMEOUT): | ||||
|  | ||||
| @pytest.mark.functional | ||||
| def test_how_to_configure_alias(proc, TIMEOUT): | ||||
|     proc.sendline('unset -f fuck') | ||||
|     how_to_configure(proc, TIMEOUT) | ||||
|   | ||||
| @@ -55,4 +55,5 @@ def test_without_confirmation(proc, TIMEOUT): | ||||
|  | ||||
| @pytest.mark.functional | ||||
| def test_how_to_configure_alias(proc, TIMEOUT): | ||||
|     proc.sendline(u'unfunction fuck') | ||||
|     how_to_configure(proc, TIMEOUT) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user