mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 14:44:05 +00:00
Add functional marker
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
from tests.functional.plots import with_confirmation, without_confirmation, \
|
||||
refuse_with_confirmation, select_command_with_arrows
|
||||
from tests.functional.utils import functional
|
||||
|
||||
containers = (('thefuck/ubuntu-python3-fish',
|
||||
u'''FROM ubuntu:latest
|
||||
@@ -29,25 +28,25 @@ def proc(request, spawnu):
|
||||
return proc
|
||||
|
||||
|
||||
@functional
|
||||
@pytest.mark.functional
|
||||
@pytest.mark.skip_without_docker
|
||||
def test_with_confirmation(proc, TIMEOUT):
|
||||
with_confirmation(proc, TIMEOUT)
|
||||
|
||||
|
||||
@functional
|
||||
@pytest.mark.functional
|
||||
@pytest.mark.skip_without_docker
|
||||
def test_select_command_with_arrows(proc, TIMEOUT):
|
||||
select_command_with_arrows(proc, TIMEOUT)
|
||||
|
||||
|
||||
@functional
|
||||
@pytest.mark.functional
|
||||
@pytest.mark.skip_without_docker
|
||||
def test_refuse_with_confirmation(proc, TIMEOUT):
|
||||
refuse_with_confirmation(proc, TIMEOUT)
|
||||
|
||||
|
||||
@functional
|
||||
@pytest.mark.functional
|
||||
@pytest.mark.skip_without_docker
|
||||
def test_without_confirmation(proc, TIMEOUT):
|
||||
without_confirmation(proc, TIMEOUT)
|
||||
|
||||
Reference in New Issue
Block a user