mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	Add functional marker
				
					
				
			This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| import pytest | ||||
| from tests.functional.utils import functional | ||||
| from tests.functional.plots import with_confirmation, without_confirmation, \ | ||||
|     refuse_with_confirmation, history_changed, history_not_changed, select_command_with_arrows | ||||
|  | ||||
| @@ -34,25 +33,25 @@ def proc(request, spawnu, run_without_docker): | ||||
|     return proc | ||||
|  | ||||
|  | ||||
| @functional | ||||
| @pytest.mark.functional | ||||
| def test_with_confirmation(proc, TIMEOUT): | ||||
|     with_confirmation(proc, TIMEOUT) | ||||
|     history_changed(proc, TIMEOUT, u'echo test') | ||||
|  | ||||
|  | ||||
| @functional | ||||
| @pytest.mark.functional | ||||
| def test_select_command_with_arrows(proc, TIMEOUT): | ||||
|     select_command_with_arrows(proc, TIMEOUT) | ||||
|     history_changed(proc, TIMEOUT, u'git push') | ||||
|  | ||||
|  | ||||
| @functional | ||||
| @pytest.mark.functional | ||||
| def test_refuse_with_confirmation(proc, TIMEOUT): | ||||
|     refuse_with_confirmation(proc, TIMEOUT) | ||||
|     history_not_changed(proc, TIMEOUT) | ||||
|  | ||||
|  | ||||
| @functional | ||||
| @pytest.mark.functional | ||||
| def test_without_confirmation(proc, TIMEOUT): | ||||
|     without_confirmation(proc, TIMEOUT) | ||||
|     history_changed(proc, TIMEOUT, u'echo test') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user