Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Oct 10, 2024
1 parent 23d39aa commit c16b437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/tools_versions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ def test_default_cmake(self):
default_cmake_version = tools_locations["cmake"]["default"]
assert "cmake version {}".format(default_cmake_version) in client.out

@pytest.mark.skipif(platform.system() != "Darwin", reason="3.16 not installed in MacOS")
@pytest.mark.skipif(platform.system() == "Darwin", reason="3.16 not installed in MacOS")
@pytest.mark.tool("cmake", "3.16")
def test_custom_cmake_3_16(self):
client = TestClient()
client.run_command('cmake --version')
assert "cmake version 3.16" in client.out

@pytest.mark.skipif(platform.system() != "Darwin", reason="3.17 not installed in MacOS")
@pytest.mark.skipif(platform.system() == "Darwin", reason="3.17 not installed in MacOS")
@pytest.mark.tool("cmake", "3.17")
def test_custom_cmake_3_17(self):
client = TestClient()
Expand Down

0 comments on commit c16b437

Please sign in to comment.