mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add message to skips
This commit is contained in:
parent
b64a0caccc
commit
b17592ed4f
1 changed files with 2 additions and 2 deletions
|
@ -472,7 +472,7 @@ class CMDModuleTest(ModuleCase):
|
|||
).splitlines()
|
||||
self.assertIn("USER={}".format(self.runas_usr), out)
|
||||
|
||||
@pytest.mark.skip_if_binaries_missing("sleep")
|
||||
@pytest.mark.skip_if_binaries_missing("sleep", message="sleep cmd not installed")
|
||||
def test_timeout(self):
|
||||
"""
|
||||
cmd.run trigger timeout
|
||||
|
@ -482,7 +482,7 @@ class CMDModuleTest(ModuleCase):
|
|||
)
|
||||
self.assertTrue("Timed out" in out)
|
||||
|
||||
@pytest.mark.skip_if_binaries_missing("sleep")
|
||||
@pytest.mark.skip_if_binaries_missing("sleep", message="sleep cmd not installed")
|
||||
def test_timeout_success(self):
|
||||
"""
|
||||
cmd.run sufficient timeout to succeed
|
||||
|
|
Loading…
Add table
Reference in a new issue