From 7f71fb44acafd0b645687ed9bb1a4ac36ee4bb87 Mon Sep 17 00:00:00 2001 From: czoido Date: Wed, 18 Dec 2024 17:42:13 +0100 Subject: [PATCH] add to right test --- test/functional/toolchains/env/test_virtualenv_powershell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/toolchains/env/test_virtualenv_powershell.py b/test/functional/toolchains/env/test_virtualenv_powershell.py index 8829bbf6cc7..db77574b1d1 100644 --- a/test/functional/toolchains/env/test_virtualenv_powershell.py +++ b/test/functional/toolchains/env/test_virtualenv_powershell.py @@ -213,7 +213,6 @@ class Pkg(ConanFile): assert "MYTOOL 1!!" in client.out -@pytest.mark.skipif(platform.system() != "Windows", reason="Test for powershell") @pytest.mark.parametrize("powershell", [None, True, False]) def test_powershell_deprecated_message(powershell): client = TestClient(light=True) @@ -235,6 +234,7 @@ class Pkg(ConanFile): assert "Boolean values for 'tools.env.virtualenv:powershell' are deprecated" not in client.out +@pytest.mark.skipif(platform.system() != "Windows", reason="Test for powershell") @pytest.mark.parametrize("powershell", [True, "pwsh", "powershell.exe"]) def test_powershell_quoting(powershell): client = TestClient(path_with_spaces=False)