mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
skip on windows because unix command which is now available
This commit is contained in:
parent
e8708b24c5
commit
37447424a6
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,7 @@ class CMDModuleTest(ModuleCase):
|
|||
ret = self.run_function("cmd.tty", [tty, "apply salt liberally"])
|
||||
self.assertTrue("Success" in ret)
|
||||
|
||||
@pytest.mark.skip_if_windows
|
||||
@pytest.mark.skip_if_binaries_missing("which")
|
||||
def test_which(self):
|
||||
"""
|
||||
|
@ -286,6 +287,7 @@ class CMDModuleTest(ModuleCase):
|
|||
self.assertIsInstance(cmd_run, str)
|
||||
self.assertEqual(cmd_which.rstrip(), cmd_run.rstrip())
|
||||
|
||||
@pytest.mark.skip_if_windows
|
||||
@pytest.mark.skip_if_binaries_missing("which")
|
||||
def test_which_bin(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue