Skip to content

Commit

Permalink
add to right test
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Dec 18, 2024
1 parent 1bafe87 commit 7f71fb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 7f71fb4

Please sign in to comment.