From 22eac045c84a17f41818669b4bfa5b3a530eea1d Mon Sep 17 00:00:00 2001 From: nvbn Date: Sun, 6 Sep 2015 01:14:49 +0300 Subject: [PATCH] Use `@pytest.mark.once_without_docker` --- tests/functional/test_bash.py | 4 ++++ tests/functional/test_tcsh.py | 4 ++++ tests/functional/test_zsh.py | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/tests/functional/test_bash.py b/tests/functional/test_bash.py index 9185934..403c64a 100644 --- a/tests/functional/test_bash.py +++ b/tests/functional/test_bash.py @@ -30,24 +30,28 @@ def proc(request, spawnu, run_without_docker): @pytest.mark.functional +@pytest.mark.once_without_docker def test_with_confirmation(proc, TIMEOUT): with_confirmation(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'echo test') @pytest.mark.functional +@pytest.mark.once_without_docker def test_select_command_with_arrows(proc, TIMEOUT): select_command_with_arrows(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'git push') @pytest.mark.functional +@pytest.mark.once_without_docker def test_refuse_with_confirmation(proc, TIMEOUT): refuse_with_confirmation(proc, TIMEOUT) history_not_changed(proc, TIMEOUT) @pytest.mark.functional +@pytest.mark.once_without_docker def test_without_confirmation(proc, TIMEOUT): without_confirmation(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'echo test') diff --git a/tests/functional/test_tcsh.py b/tests/functional/test_tcsh.py index c4c27e0..5632370 100644 --- a/tests/functional/test_tcsh.py +++ b/tests/functional/test_tcsh.py @@ -30,21 +30,25 @@ def proc(request, spawnu, run_without_docker): @pytest.mark.functional +@pytest.mark.once_without_docker def test_with_confirmation(proc, TIMEOUT): with_confirmation(proc, TIMEOUT) @pytest.mark.functional +@pytest.mark.once_without_docker def test_select_command_with_arrows(proc, TIMEOUT): select_command_with_arrows(proc, TIMEOUT) @pytest.mark.functional +@pytest.mark.once_without_docker def test_refuse_with_confirmation(proc, TIMEOUT): refuse_with_confirmation(proc, TIMEOUT) @pytest.mark.functional +@pytest.mark.once_without_docker def test_without_confirmation(proc, TIMEOUT): without_confirmation(proc, TIMEOUT) diff --git a/tests/functional/test_zsh.py b/tests/functional/test_zsh.py index 8d8bbc3..47fe82b 100644 --- a/tests/functional/test_zsh.py +++ b/tests/functional/test_zsh.py @@ -34,24 +34,28 @@ def proc(request, spawnu, run_without_docker): @pytest.mark.functional +@pytest.mark.once_without_docker def test_with_confirmation(proc, TIMEOUT): with_confirmation(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'echo test') @pytest.mark.functional +@pytest.mark.once_without_docker def test_select_command_with_arrows(proc, TIMEOUT): select_command_with_arrows(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'git push') @pytest.mark.functional +@pytest.mark.once_without_docker def test_refuse_with_confirmation(proc, TIMEOUT): refuse_with_confirmation(proc, TIMEOUT) history_not_changed(proc, TIMEOUT) @pytest.mark.functional +@pytest.mark.once_without_docker def test_without_confirmation(proc, TIMEOUT): without_confirmation(proc, TIMEOUT) history_changed(proc, TIMEOUT, u'echo test')