1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00

Use @pytest.mark.once_without_docker

This commit is contained in:
nvbn 2015-09-06 01:14:49 +03:00
parent cdd5f21e88
commit 22eac045c8
3 changed files with 12 additions and 0 deletions

View File

@ -30,24 +30,28 @@ def proc(request, spawnu, run_without_docker):
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_with_confirmation(proc, TIMEOUT): def test_with_confirmation(proc, TIMEOUT):
with_confirmation(proc, TIMEOUT) with_confirmation(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'echo test') history_changed(proc, TIMEOUT, u'echo test')
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_select_command_with_arrows(proc, TIMEOUT): def test_select_command_with_arrows(proc, TIMEOUT):
select_command_with_arrows(proc, TIMEOUT) select_command_with_arrows(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'git push') history_changed(proc, TIMEOUT, u'git push')
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_refuse_with_confirmation(proc, TIMEOUT): def test_refuse_with_confirmation(proc, TIMEOUT):
refuse_with_confirmation(proc, TIMEOUT) refuse_with_confirmation(proc, TIMEOUT)
history_not_changed(proc, TIMEOUT) history_not_changed(proc, TIMEOUT)
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_without_confirmation(proc, TIMEOUT): def test_without_confirmation(proc, TIMEOUT):
without_confirmation(proc, TIMEOUT) without_confirmation(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'echo test') history_changed(proc, TIMEOUT, u'echo test')

View File

@ -30,21 +30,25 @@ def proc(request, spawnu, run_without_docker):
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_with_confirmation(proc, TIMEOUT): def test_with_confirmation(proc, TIMEOUT):
with_confirmation(proc, TIMEOUT) with_confirmation(proc, TIMEOUT)
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_select_command_with_arrows(proc, TIMEOUT): def test_select_command_with_arrows(proc, TIMEOUT):
select_command_with_arrows(proc, TIMEOUT) select_command_with_arrows(proc, TIMEOUT)
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_refuse_with_confirmation(proc, TIMEOUT): def test_refuse_with_confirmation(proc, TIMEOUT):
refuse_with_confirmation(proc, TIMEOUT) refuse_with_confirmation(proc, TIMEOUT)
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_without_confirmation(proc, TIMEOUT): def test_without_confirmation(proc, TIMEOUT):
without_confirmation(proc, TIMEOUT) without_confirmation(proc, TIMEOUT)

View File

@ -34,24 +34,28 @@ def proc(request, spawnu, run_without_docker):
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_with_confirmation(proc, TIMEOUT): def test_with_confirmation(proc, TIMEOUT):
with_confirmation(proc, TIMEOUT) with_confirmation(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'echo test') history_changed(proc, TIMEOUT, u'echo test')
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_select_command_with_arrows(proc, TIMEOUT): def test_select_command_with_arrows(proc, TIMEOUT):
select_command_with_arrows(proc, TIMEOUT) select_command_with_arrows(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'git push') history_changed(proc, TIMEOUT, u'git push')
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_refuse_with_confirmation(proc, TIMEOUT): def test_refuse_with_confirmation(proc, TIMEOUT):
refuse_with_confirmation(proc, TIMEOUT) refuse_with_confirmation(proc, TIMEOUT)
history_not_changed(proc, TIMEOUT) history_not_changed(proc, TIMEOUT)
@pytest.mark.functional @pytest.mark.functional
@pytest.mark.once_without_docker
def test_without_confirmation(proc, TIMEOUT): def test_without_confirmation(proc, TIMEOUT):
without_confirmation(proc, TIMEOUT) without_confirmation(proc, TIMEOUT)
history_changed(proc, TIMEOUT, u'echo test') history_changed(proc, TIMEOUT, u'echo test')